OSDN Git Service

Turn off elegantTextHeight in quantum theme
authorRaph Levien <raph@google.com>
Wed, 4 Jun 2014 23:09:11 +0000 (16:09 -0700)
committerRaph Levien <raph@google.com>
Wed, 4 Jun 2014 23:09:11 +0000 (16:09 -0700)
Setting elegantTextHeight to true was a great experiment, but it led to
too much difficulty getting text to fit in space-constrained spaces
(action bar, list items). A long term solution is optical bounds, but
for the time being, just turn it off.

This patch fixes bug 14227056: "Language name displaying under Personal
dictionary are truncated in landscape mode"

Change-Id: I2b0e1ca2e7a06cd0fd9a4d84c1c07fdea2ddbf03

core/res/res/values/styles_quantum.xml

index a07d02b..b5afc2f 100644 (file)
@@ -97,7 +97,6 @@ please see styles_device_defaults.xml.
         <item name="textColorLink">?attr/textColorLink</item>
         <item name="textSize">@dimen/text_size_body_1_quantum</item>
         <item name="fontFamily">@string/font_family_body_1_quantum</item>
-        <item name="elegantTextHeight">true</item>
     </style>
 
     <style name="TextAppearance.Quantum.Display4">