diff options
author | Hans Boehm <hboehm@google.com> | 2015-04-20 10:27:12 -0700 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2015-04-20 18:47:55 -0700 |
commit | 760a9dc6573e35bcbf9097dece06cd90c4abb551 (patch) | |
tree | 4a8eefbed4561fcd7df4a1d10aa41a2fe3e11f30 /res/values-sw600dp-land | |
parent | 76b78159dc27a365e1cd9fc07379607893d016f6 (diff) | |
download | android_packages_apps_ExactCalculator-760a9dc6573e35bcbf9097dece06cd90c4abb551.tar.gz android_packages_apps_ExactCalculator-760a9dc6573e35bcbf9097dece06cd90c4abb551.tar.bz2 android_packages_apps_ExactCalculator-760a9dc6573e35bcbf9097dece06cd90c4abb551.zip |
Fix result overlap, clear logic, display bugs, etc.
Adjust result padding to prevent overlapping with options menu,
resulting in inability to access options menu.
Reset state correctly after clear, preventing occasional crashes.
Do this at end of animation to prevent animation glitches.
Have clear but the display in a state in which COPY does
nothing interesting.
Treat a not-known-to-be-exact zero result better. Before this
we displayed it as just "0", giving the mistaken impression of
exactness. It is unclear whether we should display it as "0.00000000"
or add an exponent to indicate the real evaluation precision.
The former probably works better for beginners; the latter for
experts. We now do the former, which is probably right.
Also correctly save and restore not-yet analyzed characters.
Change-Id: Iac46d0d3b5a06f61beb6af7d4f0910e43284f52b
Diffstat (limited to 'res/values-sw600dp-land')
-rw-r--r-- | res/values-sw600dp-land/styles.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/values-sw600dp-land/styles.xml b/res/values-sw600dp-land/styles.xml index 18774f2..dcbfeb4 100644 --- a/res/values-sw600dp-land/styles.xml +++ b/res/values-sw600dp-land/styles.xml @@ -20,14 +20,14 @@ <style name="DisplayEditTextStyle.Formula"> <item name="android:paddingTop">0dip</item> - <item name="android:paddingBottom">26dip</item> + <item name="android:paddingBottom">52dip</item> <item name="android:paddingStart">44dip</item> <item name="android:paddingEnd">44dip</item> <item name="android:textSize">48sp</item> </style> <style name="DisplayTextStyle.Result"> - <item name="android:paddingTop">26dip</item> + <item name="android:paddingTop">0dip</item> <item name="android:paddingBottom">46dip</item> <item name="android:paddingStart">44dip</item> <item name="android:paddingEnd">44dip</item> |