1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2014 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 18<!-- Styles for portrait phone (e.g. Nexus 4/5). --> 19<resources xmlns:android="http://schemas.android.com/apk/res/android"> 20 21 <style name="DisplayTextStyle.Formula"> 22 <item name="android:paddingTop">8dip</item> 23 <item name="android:paddingBottom">24dip</item> 24 <item name="android:paddingStart">16dip</item> 25 <item name="android:paddingEnd">16dip</item> 26 <item name="minTextSize">32sp</item> 27 <item name="maxTextSize">56sp</item> 28 <item name="stepTextSize">8sp</item> 29 </style> 30 31 <style name="DisplayTextStyle.Result"> 32 <item name="android:paddingTop">10dip</item> 33 <item name="android:paddingBottom">32dip</item> 34 <item name="android:paddingStart">16dip</item> 35 <item name="android:paddingEnd">16dip</item> 36 <item name="android:textSize">32sp</item> 37 </style> 38 39 <style name="PadButtonStyle.Advanced"> 40 <item name="android:background">@drawable/pad_button_advanced_background</item> 41 <item name="android:textColor">@color/pad_button_advanced_text_color</item> 42 <item name="android:textSize">20sp</item> 43 </style> 44 45 <style name="PadButtonStyle.Advanced.Text"> 46 <item name="android:textAllCaps">true</item> 47 <item name="android:textSize">17sp</item> 48 </style> 49 50 <style name="PadButtonStyle.Numeric"> 51 <item name="android:textSize">32sp</item> 52 </style> 53 54 <style name="PadButtonStyle.Numeric.Equals"> 55 <item name="android:visibility">visible</item> 56 </style> 57 58 <style name="PadButtonStyle.Operator"> 59 <item name="android:textSize">23sp</item> 60 </style> 61 62 <style name="PadButtonStyle.Operator.Text"> 63 <item name="android:textAllCaps">true</item> 64 <item name="android:textSize">15sp</item> 65 </style> 66 67 <style name="PadLayoutStyle.Advanced"> 68 <item name="android:elevation">4dip</item> 69 <item name="android:paddingTop">12dip</item> 70 <item name="android:paddingBottom">20dip</item> 71 <item name="android:paddingStart">20dip</item> 72 <item name="android:paddingEnd">20dip</item> 73 </style> 74 75 <style name="PadLayoutStyle.Numeric"> 76 <item name="android:layout_width">0dip</item> 77 <item name="android:layout_weight">264</item> 78 <item name="android:paddingTop">12dip</item> 79 <item name="android:paddingBottom">20dip</item> 80 <item name="android:paddingStart">12dip</item> 81 <item name="android:paddingEnd">12dip</item> 82 </style> 83 84 <style name="PadLayoutStyle.Operator"> 85 <item name="android:layout_width">0dip</item> 86 <item name="android:layout_weight">96</item> 87 <item name="android:paddingTop">8dip</item> 88 <item name="android:paddingBottom">24dip</item> 89 <item name="android:paddingStart">4dip</item> 90 <item name="android:paddingEnd">28dip</item> 91 </style> 92 93</resources> 94