Android ActionBar setActionView layout issue

后端 未结 2 1364
说谎
说谎 2021-01-18 18:42

I\'ve been trying to use the setActionView from the ActionBar in ICS

Seems like it should be straight forward but somehow I\'m not getting the layout alignment that

2条回答
  •  旧时难觅i
    2021-01-18 19:03

    It seems that explicitly defining the style and adding a 4dip padding in the root of the layout to inflate as shown below solves this issue

    
    

    This seems to be used in the android stylesheet here

提交回复
热议问题