Action bar - ifRoom option leaving too much space

前端 未结 3 1850
小蘑菇
小蘑菇 2020-12-20 11:41

I have a problem on my Action bar, I tried to setup a search view on it in order to get a a search bar expandable.

This is woking well except the fact that I had to

3条回答
  •  无人及你
    2020-12-20 12:10

    Looks like its a design decision:

    Jake Wharton Says:

    When contained within the action bar there is a finite maximum of action items based on the device's density-independent width. The action items can also not cover more than half the width of the action bar.

    From here.

提交回复
热议问题