summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorMindy Pereira <mindyp@google.com>2011-08-23 17:52:12 -0700
committerMindy Pereira <mindyp@google.com>2011-08-23 18:06:37 -0700
commitae5c823af5bf36bb6823275f0f587dff133067dc (patch)
treec534be807cb9065a82679c611c8a365a680c8bcf /res/values
parent0a1148f5ac3a09c3a2bf6cb50b50a900f370853d (diff)
downloadandroid_packages_apps_ExactCalculator-ae5c823af5bf36bb6823275f0f587dff133067dc.tar.gz
android_packages_apps_ExactCalculator-ae5c823af5bf36bb6823275f0f587dff133067dc.tar.bz2
android_packages_apps_ExactCalculator-ae5c823af5bf36bb6823275f0f587dff133067dc.zip
Always show the same max number of digits for a result.
This is terribly confusing otherwise. Fixes b/5160841 Calculated result shows truncated value in Landscape mode of device. Change-Id: I1b407ed03fc20b46cc25cf9af1070e074677fa13
Diffstat (limited to 'res/values')
-rw-r--r--res/values/constants.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/res/values/constants.xml b/res/values/constants.xml
new file mode 100644
index 0000000..98c14ec
--- /dev/null
+++ b/res/values/constants.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+ <integer name="max_digits">14</integer>
+</resources> \ No newline at end of file