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="DialpadNoSpaceStyle">
25        <item name="android:layout_width">0dp</item>
26        <item name="android:layout_height">match_parent</item>
27        <item name="android:visibility">gone</item>
28    </style>
29
30    <style name="DialpadKeyNumberStyle">
31        <item name="android:textColor">?attr/dialpad_text_color_primary</item>
32        <item name="android:textSize">@dimen/dialpad_key_numbers_size</item>
33        <item name="android:fontFamily">sans-serif-light</item>
34        <item name="android:layout_width">wrap_content</item>
35        <item name="android:layout_height">wrap_content</item>
36        <item name="android:layout_marginBottom">@dimen/dialpad_key_number_margin_bottom</item>
37        <item name="android:gravity">center</item>
38    </style>
39
40    <style name="DialpadBottomKeyNumberStyle" parent="DialpadKeyNumberStyle">
41        <item name="android:layout_marginBottom">@dimen/dialpad_zero_key_number_margin_bottom</item>
42    </style>
43
44    <style name="DialpadKeyStarStyle">
45        <item name="android:textColor">?attr/dialpad_text_color_secondary</item>
46        <item name="android:textSize">@dimen/dialpad_key_star_size</item>
47        <item name="android:fontFamily">sans-serif-light</item>
48        <item name="android:alpha">0.8</item>
49        <item name="android:layout_width">wrap_content</item>
50        <item name="android:layout_height">wrap_content</item>
51        <item name="android:layout_marginBottom">@dimen/dialpad_symbol_margin_bottom</item>
52        <item name="android:gravity">center</item>
53    </style>
54
55    <style name="DialpadKeyPoundStyle">
56        <item name="android:textColor">?attr/dialpad_text_color_secondary</item>
57        <item name="android:textSize">@dimen/dialpad_key_pound_size</item>
58        <item name="android:fontFamily">sans-serif-light</item>
59        <item name="android:alpha">0.8</item>
60        <item name="android:layout_width">wrap_content</item>
61        <item name="android:layout_height">wrap_content</item>
62        <item name="android:layout_marginBottom">@dimen/dialpad_symbol_margin_bottom</item>
63        <item name="android:gravity">center</item>
64    </style>
65
66    <style name="DialpadKeyLettersStyle">
67        <item name="android:textColor">?attr/dialpad_text_color_secondary</item>
68        <item name="android:textSize">@dimen/dialpad_key_letters_size</item>
69        <item name="android:fontFamily">sans-serif-regular</item>
70        <item name="android:layout_width">wrap_content</item>
71        <item name="android:layout_height">wrap_content</item>
72        <item name="android:gravity">center_horizontal</item>
73    </style>
74
75    <style name="DialpadKeyButtonStyle">
76        <item name="android:soundEffectsEnabled">false</item>
77        <item name="android:clickable">true</item>
78        <item name="android:layout_width">0dp</item>
79        <item name="android:layout_height">match_parent</item>
80        <item name="android:layout_weight">13</item>
81        <item name="android:minHeight">@dimen/dialpad_key_height</item>
82        <item name="android:background">@drawable/btn_dialpad_key</item>
83        <item name="android:focusable">true</item>
84    </style>
85
86    <style name="DialpadKeyInternalLayoutStyle">
87        <item name="android:layout_width">wrap_content</item>
88        <item name="android:layout_height">wrap_content</item>
89        <item name="android:layout_gravity">center</item>
90        <item name="android:gravity">center</item>
91        <item name="android:orientation">vertical</item>
92    </style>
93
94    <style name="Dialpad_Light">
95        <item name="dialpad_text_color">@color/dialpad_digits_text_color</item>
96        <item name="dialpad_text_color_primary">@color/dialpad_primary_text_color</item>
97        <item name="dialpad_text_color_secondary">@color/dialpad_secondary_text_color</item>
98        <item name="dialpad_icon_tint">@color/dialpad_icon_tint</item>
99        <item name="dialpad_voicemail_tint">@color/dialpad_voicemail_tint</item>
100        <item name="dialpad_background">@color/background_dialpad</item>
101        <item name="dialpad_separator_color">#e3e3e3</item>
102        <item name="dialpad_margin_style">@style/DialpadSpaceStyle</item>
103        <item name="dialpad_delete_padding">@dimen/dialpad_digits_padding</item>
104    </style>
105
106    <style name="Dialpad_LightTransparent">
107        <item name="dialpad_text_color">?android:textColorPrimaryInverse</item>
108        <item name="dialpad_text_color_primary">?android:textColorPrimaryInverse</item>
109        <item name="dialpad_text_color_secondary">?android:textColorSecondaryInverse</item>
110        <item name="dialpad_icon_tint">@color/dialpad_icon_tint_dark</item>
111        <item name="dialpad_voicemail_tint">@color/dialpad_icon_tint_dark</item>
112        <item name="dialpad_background">@android:color/transparent</item>
113        <item name="dialpad_separator_color">@color/dialpad_icon_tint_dark</item>
114        <item name="dialpad_margin_style">@style/DialpadNoSpaceStyle</item>
115        <item name="dialpad_delete_padding">1dp</item>
116    </style>
117
118    <style name="Dialpad_DarkTransparent">
119        <item name="dialpad_text_color">?android:textColorPrimary</item>
120        <item name="dialpad_text_color_primary">?android:textColorPrimary</item>
121        <item name="dialpad_text_color_secondary">?android:textColorSecondary</item>
122        <item name="dialpad_icon_tint">@android:color/white</item>
123        <item name="dialpad_voicemail_tint">@color/dialpad_icon_tint</item>
124        <item name="dialpad_background">@android:color/transparent</item>
125        <item name="dialpad_separator_color">@color/dialpad_icon_tint</item>
126        <item name="dialpad_margin_style">@style/DialpadNoSpaceStyle</item>
127        <item name="dialpad_delete_padding">1dp</item>
128    </style>
129</resources>
130