summaryrefslogtreecommitdiffstats
path: root/res/values-sw600dp-land/styles.xml
diff options
context:
space:
mode:
authorJustin Klaassen <justinklaassen@google.com>2015-07-01 13:45:07 -0700
committerJustin Klaassen <justinklaassen@google.com>2015-07-01 13:56:57 -0700
commitb43e681023439ecec1bbb66431308a2ee483f4fa (patch)
tree5d431b2501482852887183ef4257156c19f84580 /res/values-sw600dp-land/styles.xml
parentb2c3e4406043da5ae2b90feccec824c38b0d8d3b (diff)
downloadandroid_packages_apps_ExactCalculator-b43e681023439ecec1bbb66431308a2ee483f4fa.tar.gz
android_packages_apps_ExactCalculator-b43e681023439ecec1bbb66431308a2ee483f4fa.tar.bz2
android_packages_apps_ExactCalculator-b43e681023439ecec1bbb66431308a2ee483f4fa.zip
Tweak text sizes and padding to prevent clipping
Bug: 22206007 Some languages contain oversized glyphs which may inadvertently be clipped when displayed by AlignedTextView. The updated text sizes and padding values should ensure that enough room is always reserved for these glyphs (even when font scaling is set to HUGE). Change-Id: Ic62df3104d033b1eafcf7d83f7e91d5329c8be70
Diffstat (limited to 'res/values-sw600dp-land/styles.xml')
-rw-r--r--res/values-sw600dp-land/styles.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/values-sw600dp-land/styles.xml b/res/values-sw600dp-land/styles.xml
index 0b0a10f..d25fe6b 100644
--- a/res/values-sw600dp-land/styles.xml
+++ b/res/values-sw600dp-land/styles.xml
@@ -23,15 +23,15 @@
<item name="android:paddingBottom">16dip</item>
<item name="android:paddingStart">44dip</item>
<item name="android:paddingEnd">44dip</item>
- <item name="android:textSize">48sp</item>
+ <item name="android:textSize">42sp</item>
</style>
<style name="DisplayTextStyle.Result">
- <item name="android:paddingTop">16dip</item>
- <item name="android:paddingBottom">32dip</item>
+ <item name="android:paddingTop">18dip</item>
+ <item name="android:paddingBottom">30dip</item>
<item name="android:paddingStart">44dip</item>
<item name="android:paddingEnd">44dip</item>
- <item name="android:textSize">48sp</item>
+ <item name="android:textSize">42sp</item>
</style>
<style name="PadButtonStyle.Advanced">