summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2012-03-07 16:48:37 -0800
committerAdam Powell <adamp@google.com>2012-03-07 16:48:37 -0800
commit24e877e1c3b9d3e0be742796ceeefdfe2183040c (patch)
tree6fc0a2dd145cb26961585bcf8c240e9d19ffe2de /core
parent9778bd1f33a28f3f403a93ba195121c3d03fb266 (diff)
downloadframeworks_base-24e877e1c3b9d3e0be742796ceeefdfe2183040c.zip
frameworks_base-24e877e1c3b9d3e0be742796ceeefdfe2183040c.tar.gz
frameworks_base-24e877e1c3b9d3e0be742796ceeefdfe2183040c.tar.bz2
Fix bug 6029592 - font size setting causes clipped icon menu items
Force the legacy icon menu panel to show text at a fixed size that will not be badly clipped when the user has increased the system font size. Change-Id: Ic991f2377424e4f42ab9f84b146650414cbde849
Diffstat (limited to 'core')
-rw-r--r--core/res/res/values/styles.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml
index 9e7b17c..a51f3f9 100644
--- a/core/res/res/values/styles.xml
+++ b/core/res/res/values/styles.xml
@@ -826,6 +826,10 @@ please see styles_device_defaults.xml.
<style name="TextAppearance.Widget.IconMenu.Item" parent="TextAppearance.Small">
<item name="android:textColor">?textColorPrimary</item>
+ <!-- dp is used on purpose here instead of sp; there is not space
+ for larger font sizes based on the user setting. Newer apps
+ should not receive the legacy icon menu panel. -->
+ <item name="android:textSize">14dp</item>
</style>
<style name="TextAppearance.Widget.EditText">