Dmitri Plotnikov | e209245 | 2011-01-16 15:27:03 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <resources> |
Andrew Flynn | 44e5b79 | 2011-06-07 12:22:30 -0700 | [diff] [blame] | 17 | <dimen name="btn_digit_text_size">50sp</dimen> |
| 18 | <dimen name="btn_operation_text_size">50sp</dimen> |
| 19 | <dimen name="btn_function_text_size">25sp</dimen> |
| 20 | <dimen name="btn_clear_text_size">40sp</dimen> |
| 21 | <dimen name="display_text_size">60sp</dimen> |
| 22 | |
Michael Chan | 365083a | 2011-05-26 13:26:47 -0700 | [diff] [blame] | 23 | <dimen name="left_right_padding">16sp</dimen> |
| 24 | <dimen name="top_bottom_padding">16sp</dimen> |
| 25 | <dimen name="group_padding">16sp</dimen> |
Mindy Pereira | d254770 | 2012-05-15 09:54:57 -0700 | [diff] [blame] | 26 | |
| 27 | <style name="display_style"> |
| 28 | <item name="android:textSize">@dimen/display_text_size</item> |
| 29 | <item name="android:inputType">text|textNoSuggestions</item> |
| 30 | <item name="android:gravity">right|bottom</item> |
| 31 | <item name="android:layout_gravity">right|bottom</item> |
| 32 | <item name="android:textColor">#ffffff</item> |
| 33 | <item name="android:maxLines">1</item> |
| 34 | <item name="android:scrollbars">none</item> |
| 35 | <item name="android:scrollHorizontally">true</item> |
| 36 | <item name="android:layout_width">match_parent</item> |
| 37 | <item name="android:layout_height">wrap_content</item> |
| 38 | <item name="android:paddingTop">8dp</item> |
| 39 | <item name="android:paddingLeft">8dp</item> |
| 40 | <item name="android:paddingRight">8dp</item> |
| 41 | <item name="android:paddingBottom">0dp</item> |
| 42 | </style> |
| 43 | </resources> |