summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJustin Klaassen <justinklaassen@google.com>2015-05-28 17:55:20 -0700
committerJustin Klaassen <justinklaassen@google.com>2015-05-29 16:19:59 -0700
commit4459516a2c116ddf80725d6a96a69186ccddc329 (patch)
tree7c606670ae5740cb05d08f4150a5ba2d44a28f05 /res/layout
parent721ec84263a26b859c57eb9fb4eb66939fe94272 (diff)
downloadandroid_packages_apps_ExactCalculator-4459516a2c116ddf80725d6a96a69186ccddc329.tar.gz
android_packages_apps_ExactCalculator-4459516a2c116ddf80725d6a96a69186ccddc329.tar.bz2
android_packages_apps_ExactCalculator-4459516a2c116ddf80725d6a96a69186ccddc329.zip
Polish display and evaluate animation
Bug: 20915670 Bug: 21489377 - Adjust font metrics across all supported device configurations to support font scaling and min touch size requirements. - Support proper font scaling for non-scrollable results when performing the evaluate animation. - Remove restriction for only using 4/5 of the width of the result display (NOTE: the result's textSize must match the formula's minTextSize). - Add AlignedTextView base class to ensure formula/result padding is based on the displayed text's ascent/baseline. Change-Id: Id53e9bdc6e699fb05fdf331a6a472ecc170edf38
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/display.xml4
1 files changed, 0 insertions, 4 deletions
diff --git a/res/layout/display.xml b/res/layout/display.xml
index 56b0e6b..52182a4 100644
--- a/res/layout/display.xml
+++ b/res/layout/display.xml
@@ -51,10 +51,6 @@
android:textColor="@color/display_formula_text_color"
android:textIsSelectable="false" />
- <!--
- We lay the result out to full width, but are careful to use only
- 4/5 of the space, so that we have room when we expand.
- -->
<com.android.calculator2.CalculatorResult
android:id="@+id/result"
style="@style/DisplayTextStyle.Result"