Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright (C) 2012 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 | |
| 17 | <resources> |
| 18 | <style name="DialpadSpaceStyle"> |
| 19 | <item name="android:layout_width">0dp</item> |
| 20 | <item name="android:layout_height">match_parent</item> |
| 21 | <item name="android:layout_weight">3</item> |
| 22 | </style> |
| 23 | |
| 24 | <style name="DialpadKeyNumberStyle"> |
Adrian Roos | af5445e | 2015-03-25 15:15:24 -0700 | [diff] [blame^] | 25 | <item name="android:textColor">?attr/dialpad_text_color_primary</item> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 26 | <item name="android:textSize">@dimen/dialpad_key_numbers_size</item> |
| 27 | <item name="android:fontFamily">sans-serif-light</item> |
| 28 | <item name="android:layout_width">wrap_content</item> |
| 29 | <item name="android:layout_height">wrap_content</item> |
| 30 | <item name="android:layout_marginBottom">@dimen/dialpad_key_number_margin_bottom</item> |
| 31 | <item name="android:gravity">center</item> |
| 32 | </style> |
| 33 | |
Nancy Chen | 9764a82 | 2014-07-29 14:34:52 -0700 | [diff] [blame] | 34 | <style name="DialpadBottomKeyNumberStyle" parent="DialpadKeyNumberStyle"> |
| 35 | <item name="android:layout_marginBottom">@dimen/dialpad_zero_key_number_margin_bottom</item> |
| 36 | </style> |
| 37 | |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 38 | <style name="DialpadKeyStarStyle"> |
Adrian Roos | af5445e | 2015-03-25 15:15:24 -0700 | [diff] [blame^] | 39 | <item name="android:textColor">?attr/dialpad_text_color_secondary</item> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 40 | <item name="android:textSize">@dimen/dialpad_key_star_size</item> |
Nancy Chen | cb6909f | 2014-07-29 12:04:52 -0700 | [diff] [blame] | 41 | <item name="android:fontFamily">sans-serif-light</item> |
| 42 | <item name="android:alpha">0.8</item> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 43 | <item name="android:layout_width">wrap_content</item> |
| 44 | <item name="android:layout_height">wrap_content</item> |
| 45 | <item name="android:layout_marginBottom">@dimen/dialpad_symbol_margin_bottom</item> |
| 46 | <item name="android:gravity">center</item> |
| 47 | </style> |
| 48 | |
| 49 | <style name="DialpadKeyPoundStyle"> |
Adrian Roos | af5445e | 2015-03-25 15:15:24 -0700 | [diff] [blame^] | 50 | <item name="android:textColor">?attr/dialpad_text_color_secondary</item> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 51 | <item name="android:textSize">@dimen/dialpad_key_pound_size</item> |
Nancy Chen | cb6909f | 2014-07-29 12:04:52 -0700 | [diff] [blame] | 52 | <item name="android:fontFamily">sans-serif-light</item> |
| 53 | <item name="android:alpha">0.8</item> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 54 | <item name="android:layout_width">wrap_content</item> |
| 55 | <item name="android:layout_height">wrap_content</item> |
| 56 | <item name="android:layout_marginBottom">@dimen/dialpad_symbol_margin_bottom</item> |
| 57 | <item name="android:gravity">center</item> |
| 58 | </style> |
| 59 | |
| 60 | <style name="DialpadKeyLettersStyle"> |
Adrian Roos | af5445e | 2015-03-25 15:15:24 -0700 | [diff] [blame^] | 61 | <item name="android:textColor">?attr/dialpad_text_color_secondary</item> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 62 | <item name="android:textSize">@dimen/dialpad_key_letters_size</item> |
Nancy Chen | cb6909f | 2014-07-29 12:04:52 -0700 | [diff] [blame] | 63 | <item name="android:fontFamily">sans-serif-regular</item> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 64 | <item name="android:layout_width">wrap_content</item> |
| 65 | <item name="android:layout_height">wrap_content</item> |
| 66 | <item name="android:gravity">center_horizontal</item> |
| 67 | </style> |
| 68 | |
| 69 | <style name="DialpadKeyButtonStyle"> |
| 70 | <item name="android:soundEffectsEnabled">false</item> |
| 71 | <item name="android:clickable">true</item> |
| 72 | <item name="android:layout_width">0dp</item> |
| 73 | <item name="android:layout_height">match_parent</item> |
| 74 | <item name="android:layout_weight">13</item> |
| 75 | <item name="android:minHeight">@dimen/dialpad_key_height</item> |
| 76 | <item name="android:background">@drawable/btn_dialpad_key</item> |
| 77 | <item name="android:focusable">true</item> |
| 78 | </style> |
| 79 | |
| 80 | <style name="DialpadBottomKeyButtonStyle" parent="DialpadKeyButtonStyle"> |
| 81 | <item name="android:layout_height">@dimen/dialpad_bottom_key_height</item> |
| 82 | </style> |
| 83 | |
| 84 | <style name="DialpadKeyInternalLayoutStyle"> |
| 85 | <item name="android:layout_width">wrap_content</item> |
| 86 | <item name="android:layout_height">wrap_content</item> |
| 87 | <item name="android:layout_gravity">center</item> |
| 88 | <item name="android:gravity">center</item> |
| 89 | <item name="android:orientation">vertical</item> |
| 90 | </style> |
Adrian Roos | af5445e | 2015-03-25 15:15:24 -0700 | [diff] [blame^] | 91 | |
| 92 | <style name="Dialpad_Light"> |
| 93 | <item name="dialpad_text_color">@color/dialpad_digits_text_color</item> |
| 94 | <item name="dialpad_text_color_primary">@color/dialpad_primary_text_color</item> |
| 95 | <item name="dialpad_text_color_secondary">@color/dialpad_secondary_text_color</item> |
| 96 | <item name="dialpad_icon_tint">@color/dialpad_icon_tint</item> |
| 97 | <item name="dialpad_voicemail_tint">@color/dialpad_voicemail_tint</item> |
| 98 | <item name="dialpad_background">@color/background_dialpad</item> |
| 99 | </style> |
| 100 | |
| 101 | <style name="Dialpad_Dark"> |
| 102 | <item name="dialpad_text_color">@android:color/white</item> |
| 103 | <item name="dialpad_text_color_primary">@android:color/white</item> |
| 104 | <item name="dialpad_text_color_secondary">#ffd4d6d7</item> |
| 105 | <item name="dialpad_icon_tint">@android:color/white</item> |
| 106 | <item name="dialpad_voicemail_tint">?attr/dialpad_text_color_secondary</item> |
| 107 | <item name="dialpad_background">#00000000</item> |
| 108 | </style> |
Sai Cheemalapati | 13b8948 | 2014-06-19 12:33:34 -0700 | [diff] [blame] | 109 | </resources> |