Skip to content

Commit 1881f27

Browse files
adampAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug 6029592 - font size setting causes clipped icon menu items"
2 parents 1a30d4a + 24e877e commit 1881f27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/res/res/values/styles.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,10 @@ please see styles_device_defaults.xml.
826826

827827
<style name="TextAppearance.Widget.IconMenu.Item" parent="TextAppearance.Small">
828828
<item name="android:textColor">?textColorPrimary</item>
829+
<!-- dp is used on purpose here instead of sp; there is not space
830+
for larger font sizes based on the user setting. Newer apps
831+
should not receive the legacy icon menu panel. -->
832+
<item name="android:textSize">14dp</item>
829833
</style>
830834

831835
<style name="TextAppearance.Widget.EditText">

0 commit comments

Comments
 (0)