diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-10-28 00:43:22 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-28 00:43:22 +0000 |
commit | 34582db05d06eb76c88ca95452199ec728c9bee3 (patch) | |
tree | 1d800c7da2e7bdc07f83b0fcd1a1c8a6ce115623 /java/com/android/dialer/dialpadview/res/values-land/styles.xml | |
parent | 4499718cc171a6c79e03fc53e139efaf4d8ba6f8 (diff) | |
parent | 8a29e95de37fc2a871f34e98fae5a83713277ff2 (diff) |
Merge "Center align numbers in each column of the dialpad when in landscape mode."
Diffstat (limited to 'java/com/android/dialer/dialpadview/res/values-land/styles.xml')
-rw-r--r-- | java/com/android/dialer/dialpadview/res/values-land/styles.xml | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/java/com/android/dialer/dialpadview/res/values-land/styles.xml b/java/com/android/dialer/dialpadview/res/values-land/styles.xml index f98372509..012cfa2b2 100644 --- a/java/com/android/dialer/dialpadview/res/values-land/styles.xml +++ b/java/com/android/dialer/dialpadview/res/values-land/styles.xml @@ -21,9 +21,33 @@ <item name="android:textColor">?attr/dialpad_text_color_primary</item> <item name="android:textSize">?attr/dialpad_key_numbers_size</item> <item name="android:fontFamily">sans-serif-light</item> - <item name="android:layout_width">@dimen/dialpad_key_number_width</item> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:layout_gravity">center</item> + </style> + + <style name="DialpadKeyStarStyle"> + <item name="android:textColor">?attr/dialpad_text_color_secondary</item> + <item name="android:textSize">@dimen/dialpad_key_star_size</item> + <item name="android:fontFamily">sans-serif-light</item> + <item name="android:alpha">0.8</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:layout_gravity">center</item> + </style> + + <style name="DialpadBottomKeyNumberStyle" parent="DialpadKeyNumberStyle"/> + + <style name="DialpadKeyPoundStyle"> + <item name="android:textColor">?attr/dialpad_text_color_secondary</item> + <item name="android:textSize">@dimen/dialpad_key_pound_size</item> + <item name="android:fontFamily">sans-serif-light</item> + <item name="android:alpha">0.8</item> + <item name="android:layout_width">wrap_content</item> <item name="android:layout_height">wrap_content</item> - <item name="android:layout_marginBottom">?attr/dialpad_key_number_margin_bottom</item> + <item name="android:layout_marginBottom">@dimen/dialpad_symbol_margin_bottom</item> + <item name="android:layout_gravity">center</item> </style> <style name="DialpadKeyLettersStyle"> |