Find out if ActionBar is stacked

前端 未结 3 2063
[愿得一人]
[愿得一人] 2020-12-30 01:42

If you add tabs to your ActionBar, they will be in an extra stacked ActionBar on phones in portrait mode. Is there an easy way to find out whether

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-30 02:16

    well i have created an actionBar similar to Instagram with a bottom ActionBar without the need of using Tabs. have a look at this image . i'v answered this related question on another question 10 minutes ago. CustomView ActionBar And Fake Bottom ActionBar in order for you to do this you have to create three separate layouts. one for the bottom to use it as Include and one for the ActionBar To use it As ActionBar View.

    if you check my latest answers you'll find how i did this. hope that benefits you in anyway. cheers

提交回复
热议问题