Skip to content Skip to sidebar Skip to footer

Change The Height Of The Action Bar Overflow Menu Items Via Styles

We are working on an Android application for industrial uses. We have increased the size of the action bar, text, etc to help improve visibility and touch target size. Everything

Solution 1:

I actually just uncovered it while working on something else. The height of the items in the overflow action menu is controlled by the android:listPreferredItemHeightSmall item in the application theme. So:

<stylename="MyTheme"parent="@android:style/Theme.Holo"><itemname="android:listPreferredItemHeightSmall">72dp</item></style>

Gives us:

enter image description here

Changing android:listPreferredItemHeightSmall will possibly impact on some other things, but since in my case we are happy to have everything large, it works well.

Post a Comment for "Change The Height Of The Action Bar Overflow Menu Items Via Styles"