summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2017-06-27 19:18:12 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-06-27 19:18:12 +0000
commit8051d20d2db9145309d7adbbb0216065481e11c7 (patch)
tree9f4559dcb2b06392676f450282b8deb4ee27dbbd
parent55f4468d41fdf93f98ffec130daaabebd3825239 (diff)
parent7bac3b5f61a5e4df9101cec071b3319415382c1f (diff)
downloadpackages_apps_PhoneCommon-8051d20d2db9145309d7adbbb0216065481e11c7.tar.gz
packages_apps_PhoneCommon-8051d20d2db9145309d7adbbb0216065481e11c7.tar.bz2
packages_apps_PhoneCommon-8051d20d2db9145309d7adbbb0216065481e11c7.zip
Emergency dialer font and sizes am: e457f725b8
am: 7bac3b5f61 Change-Id: I76e59095a2b41caf80156d85f8639d0d4a199754
-rw-r--r--res/layout/dialpad_view_unthemed.xml2
-rw-r--r--res/values/dimens.xml4
-rw-r--r--res/values/styles.xml6
3 files changed, 6 insertions, 6 deletions
diff --git a/res/layout/dialpad_view_unthemed.xml b/res/layout/dialpad_view_unthemed.xml
index 0516a36..78a4ead 100644
--- a/res/layout/dialpad_view_unthemed.xml
+++ b/res/layout/dialpad_view_unthemed.xml
@@ -111,7 +111,7 @@
android:cursorVisible="false"
android:textColor="?attr/dialpad_text_color"
android:textCursorDrawable="@null"
- android:fontFamily="sans-serif"
+ android:fontFamily="@*android:string/config_headlineFontFamily"
android:textStyle="normal"
ex:resizing_text_min_size="@dimen/dialpad_digits_text_min_size" />
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 7734bd4..418a3f6 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -30,7 +30,7 @@
<dimen name="dialpad_symbol_margin_bottom">13dp</dimen>
<dimen name="dialpad_key_plus_size">18sp</dimen>
<dimen name="dialpad_horizontal_padding">5dp</dimen>
- <dimen name="dialpad_digits_text_size">34sp</dimen>
+ <dimen name="dialpad_digits_text_size">32sp</dimen>
<dimen name="dialpad_digits_text_min_size">24sp</dimen>
<dimen name="dialpad_digits_height">60dp</dimen>
<!-- Provide adjustable dimensions so that different apps can use different dialpad sizes. -->
@@ -47,7 +47,7 @@
<dimen name="dialpad_space_above_keys">14dp</dimen>
<dimen name="dialpad_space_below_keys">8dp</dimen>
<!-- The bottom space of the dialpad to account for the dial button -->
- <dimen name="dialpad_bottom_space_height">80dp</dimen>
+ <dimen name="dialpad_bottom_space_height">124dp</dimen>
<!-- Height of the floating action button -->
<dimen name="floating_action_button_height">56dp</dimen>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 3ec34c1..7488e5d 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -30,7 +30,7 @@
<style name="DialpadKeyNumberStyle">
<item name="android:textColor">?attr/dialpad_text_color_primary</item>
<item name="android:textSize">@dimen/dialpad_key_numbers_size</item>
- <item name="android:fontFamily">sans-serif-light</item>
+ <item name="android:fontFamily">@*android:string/config_headlineFontFamilyLight</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>
@@ -44,7 +44,7 @@
<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:fontFamily">@*android:string/config_headlineFontFamilyLight</item>
<item name="android:alpha">0.8</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
@@ -55,7 +55,7 @@
<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:fontFamily">@*android:string/config_headlineFontFamilyLight</item>
<item name="android:alpha">0.8</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>