summaryrefslogtreecommitdiffstats
path: root/res/values-sw768dp-port/styles.xml
diff options
context:
space:
mode:
authorJustin Klaassen <justinklaassen@google.com>2015-05-29 23:45:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-29 23:45:32 +0000
commit97f58a51b399a591122c96bf0b2e9ba4afb5602a (patch)
tree02163dde6a7596747936f00ea23eee4a4bd368de /res/values-sw768dp-port/styles.xml
parent7f537c97cf241af1af269d940ddd97c196d8bc8c (diff)
parent4459516a2c116ddf80725d6a96a69186ccddc329 (diff)
downloadandroid_packages_apps_ExactCalculator-97f58a51b399a591122c96bf0b2e9ba4afb5602a.tar.gz
android_packages_apps_ExactCalculator-97f58a51b399a591122c96bf0b2e9ba4afb5602a.tar.bz2
android_packages_apps_ExactCalculator-97f58a51b399a591122c96bf0b2e9ba4afb5602a.zip
Merge "Polish display and evaluate animation" into mnc-dev
Diffstat (limited to 'res/values-sw768dp-port/styles.xml')
-rw-r--r--res/values-sw768dp-port/styles.xml63
1 files changed, 63 insertions, 0 deletions
diff --git a/res/values-sw768dp-port/styles.xml b/res/values-sw768dp-port/styles.xml
new file mode 100644
index 0000000..c9bceba
--- /dev/null
+++ b/res/values-sw768dp-port/styles.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2014 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.
+ -->
+
+<!-- Styles for portrait 800dip-wide tablet (e.g. Nexus 10). -->
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <style name="DisplayTextStyle.Formula">
+ <item name="android:paddingTop">24dip</item>
+ <item name="android:paddingBottom">32dip</item>
+ <item name="android:paddingStart">44dip</item>
+ <item name="android:paddingEnd">44dip</item>
+ <item name="minTextSize">56sp</item>
+ <item name="maxTextSize">80sp</item>
+ <item name="stepTextSize">8sp</item>
+ </style>
+
+ <style name="DisplayTextStyle.Result">
+ <item name="android:paddingTop">24dip</item>
+ <item name="android:paddingBottom">56dip</item>
+ <item name="android:paddingStart">44dip</item>
+ <item name="android:paddingEnd">44dip</item>
+ <item name="android:textSize">56sp</item>
+ </style>
+
+ <style name="PadButtonStyle.Advanced">
+ <item name="android:background">@drawable/pad_button_advanced_background</item>
+ <item name="android:textColor">@color/pad_button_advanced_text_color</item>
+ <item name="android:textSize">32sp</item>
+ </style>
+
+ <style name="PadButtonStyle.Advanced.Text">
+ <item name="android:textAllCaps">true</item>s
+ <item name="android:textSize">28sp</item>
+ </style>
+
+ <style name="PadButtonStyle.Numeric">
+ <item name="android:textSize">38sp</item>
+ </style>
+
+ <style name="PadButtonStyle.Operator">
+ <item name="android:textSize">38sp</item>
+ </style>
+
+ <style name="PadButtonStyle.Operator.Text">
+ <item name="android:textAllCaps">true</item>
+ <item name="android:textSize">28sp</item>
+ </style>
+
+</resources>