diff options
| author | Sai Cheemalapati <saicheems@google.com> | 2014-06-19 12:33:34 -0700 |
|---|---|---|
| committer | Sai Cheemalapati <saicheems@google.com> | 2014-06-20 14:58:12 -0700 |
| commit | 13b8948c0cc543f62a68fa32c4692ba16a2e93c6 (patch) | |
| tree | 64a355ff484d67726bd5c3e7ae8ae2afc24560d2 /res/values/styles.xml | |
| parent | 4aac9d221bd23ae582e44064ffcadc90d06b220d (diff) | |
| download | packages_apps_PhoneCommon-13b8948c0cc543f62a68fa32c4692ba16a2e93c6.tar.gz packages_apps_PhoneCommon-13b8948c0cc543f62a68fa32c4692ba16a2e93c6.tar.bz2 packages_apps_PhoneCommon-13b8948c0cc543f62a68fa32c4692ba16a2e93c6.zip | |
Update Emergency Dialer to match Dialer (5/7).
Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.
Change-Id: Ia3b937c12fc133a04c10ba842df9e89012ba331d
Diffstat (limited to 'res/values/styles.xml')
| -rw-r--r-- | res/values/styles.xml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml new file mode 100644 index 0000000..5297aa1 --- /dev/null +++ b/res/values/styles.xml @@ -0,0 +1,83 @@ +<!-- + ~ Copyright (C) 2012 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<resources> + <style name="DialpadSpaceStyle"> + <item name="android:layout_width">0dp</item> + <item name="android:layout_height">match_parent</item> + <item name="android:layout_weight">3</item> + </style> + + <style name="DialpadKeyNumberStyle"> + <item name="android:textColor">@color/dialpad_primary_text_color</item> + <item name="android:textSize">@dimen/dialpad_key_numbers_size</item> + <item name="android:fontFamily">sans-serif-light</item> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:layout_marginBottom">@dimen/dialpad_key_number_margin_bottom</item> + <item name="android:gravity">center</item> + </style> + + <style name="DialpadKeyStarStyle"> + <item name="android:textColor">@color/dialpad_secondary_text_color</item> + <item name="android:textSize">@dimen/dialpad_key_star_size</item> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:layout_marginBottom">@dimen/dialpad_symbol_margin_bottom</item> + <item name="android:gravity">center</item> + </style> + + <style name="DialpadKeyPoundStyle"> + <item name="android:textColor">@color/dialpad_secondary_text_color</item> + <item name="android:textSize">@dimen/dialpad_key_pound_size</item> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:layout_marginBottom">@dimen/dialpad_symbol_margin_bottom</item> + <item name="android:gravity">center</item> + </style> + + <style name="DialpadKeyLettersStyle"> + <item name="android:textColor">@color/dialpad_secondary_text_color</item> + <item name="android:textSize">@dimen/dialpad_key_letters_size</item> + <item name="android:fontFamily">sans-serif-medium</item> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:gravity">center_horizontal</item> + </style> + + <style name="DialpadKeyButtonStyle"> + <item name="android:soundEffectsEnabled">false</item> + <item name="android:clickable">true</item> + <item name="android:layout_width">0dp</item> + <item name="android:layout_height">match_parent</item> + <item name="android:layout_weight">13</item> + <item name="android:minHeight">@dimen/dialpad_key_height</item> + <item name="android:background">@drawable/btn_dialpad_key</item> + <item name="android:focusable">true</item> + </style> + + <style name="DialpadBottomKeyButtonStyle" parent="DialpadKeyButtonStyle"> + <item name="android:layout_height">@dimen/dialpad_bottom_key_height</item> + </style> + + <style name="DialpadKeyInternalLayoutStyle"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:layout_gravity">center</item> + <item name="android:gravity">center</item> + <item name="android:orientation">vertical</item> + </style> +</resources> |
