hoffc | 7879e1f | 2016-09-07 10:11:51 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2016, The Linux Foundation. All rights reserved. |
| 4 | |
| 5 | Redistribution and use in source and binary forms, with or without |
| 6 | modification, are permitted provided that the following conditions are |
| 7 | met: |
| 8 | * Redistributions of source code must retain the above copyright |
| 9 | notice, this list of conditions and the following disclaimer. |
| 10 | * Redistributions in binary form must reproduce the above |
| 11 | copyright notice, this list of conditions and the following |
| 12 | disclaimer in the documentation and/or other materials provided |
| 13 | with the distribution. |
| 14 | * Neither the name of The Linux Foundation nor the names of its |
| 15 | contributors may be used to endorse or promote products derived |
| 16 | from this software without specific prior written permission. |
| 17 | |
| 18 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 19 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 22 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 25 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 27 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 28 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 | --> |
| 30 | |
| 31 | <!-- Styles for small portrait in split-screen mode, |
| 32 | although the device is in Landscape mode --> |
| 33 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
| 34 | |
| 35 | <style name="DisplayTextStyle.Formula"> |
| 36 | <item name="android:paddingTop">2dip</item> |
| 37 | <item name="android:paddingBottom">6dip</item> |
| 38 | <item name="android:paddingStart">36dip</item> |
| 39 | <item name="android:paddingEnd">36dip</item> |
| 40 | <item name="android:textSize">23sp</item> |
| 41 | </style> |
| 42 | |
| 43 | <style name="DisplayTextStyle.Result"> |
| 44 | <item name="android:paddingTop">8dip</item> |
| 45 | <item name="android:paddingBottom">12dip</item> |
| 46 | <item name="android:paddingStart">36dip</item> |
| 47 | <item name="android:paddingEnd">36dip</item> |
| 48 | <item name="android:textSize">23sp</item> |
| 49 | </style> |
| 50 | |
| 51 | <style name="PadButtonStyle.Advanced"> |
| 52 | <item name="android:background">@drawable/pad_button_advanced_background</item> |
| 53 | <item name="android:textColor">@color/pad_button_advanced_text_color</item> |
| 54 | <item name="android:textSize">14sp</item> |
| 55 | </style> |
| 56 | |
| 57 | <style name="PadButtonStyle.Advanced.Text"> |
| 58 | <item name="android:textAllCaps">true</item> |
| 59 | <item name="android:textSize">12sp</item> |
| 60 | </style> |
| 61 | |
| 62 | <style name="PadButtonStyle.Numeric"> |
| 63 | <item name="android:textSize">22sp</item> |
| 64 | </style> |
| 65 | |
| 66 | <style name="PadButtonStyle.Numeric.Equals"> |
| 67 | <item name="android:visibility">visible</item> |
| 68 | </style> |
| 69 | |
| 70 | <style name="PadButtonStyle.Operator"> |
| 71 | <item name="android:textSize">22sp</item> |
| 72 | </style> |
| 73 | |
| 74 | <style name="PadButtonStyle.Operator.Text"> |
| 75 | <item name="android:textAllCaps">true</item> |
| 76 | <item name="android:textSize">12sp</item> |
| 77 | </style> |
| 78 | |
| 79 | <style name="PadLayoutStyle.Advanced"> |
| 80 | <item name="android:elevation">4dip</item> |
| 81 | <item name="android:paddingTop">4dip</item> |
| 82 | <item name="android:paddingBottom">4dip</item> |
| 83 | <item name="android:paddingStart">8dip</item> |
| 84 | <item name="android:paddingEnd">8dip</item> |
| 85 | </style> |
| 86 | |
| 87 | <style name="PadLayoutStyle.Operator"> |
| 88 | <item name="android:layout_width">0dip</item> |
| 89 | <item name="android:layout_weight">96</item> |
| 90 | <item name="android:paddingTop">4dip</item> |
| 91 | <item name="android:paddingBottom">4dip</item> |
| 92 | <item name="android:paddingStart">4dip</item> |
| 93 | <item name="android:paddingEnd">28dip</item> |
| 94 | </style> |
| 95 | |
| 96 | <style name="PadLayoutStyle.Numeric"> |
| 97 | <item name="android:layout_width">0dip</item> |
| 98 | <item name="android:layout_weight">264</item> |
| 99 | <item name="android:paddingTop">4dip</item> |
| 100 | <item name="android:paddingBottom">4dip</item> |
| 101 | <item name="android:paddingStart">8dip</item> |
| 102 | <item name="android:paddingEnd">8dip</item> |
| 103 | </style> |
| 104 | |
| 105 | </resources> |