summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/theme
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2018-05-21 12:29:32 -0700
committerCopybara-Service <copybara-piper@google.com>2018-05-21 13:18:02 -0700
commit71a22dc081e458706f07beb1684087dc4a6aedf5 (patch)
treed43592dc0b93433f7b7aa8c82888c9ad69ed8d40 /java/com/android/dialer/theme
parent929539eb864822d669265b142bdcc49b6cf8ea6b (diff)
Add promotion module.
Refactor Duo disclosure card to general promotion card. Bug: 78905507 Test: unit tests PiperOrigin-RevId: 197436677 Change-Id: I511c39308cadfb96ee4519b71ca29b75d0e6750b
Diffstat (limited to 'java/com/android/dialer/theme')
-rw-r--r--java/com/android/dialer/theme/res/values/theme_dialer_light.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/java/com/android/dialer/theme/res/values/theme_dialer_light.xml b/java/com/android/dialer/theme/res/values/theme_dialer_light.xml
index 728842915..ab4ae936d 100644
--- a/java/com/android/dialer/theme/res/values/theme_dialer_light.xml
+++ b/java/com/android/dialer/theme/res/values/theme_dialer_light.xml
@@ -60,8 +60,6 @@
<!-- Should be kept in sync with the theme above (minus anything related to actionbars) -->
<style name="Dialer.ThemeBase.NoActionBar" parent="@style/Theme.AppCompat.Light.NoActionBar">
- <item name="android:textAppearanceButton">@style/DialerButtonTextStyle</item>
-
<!-- These values should be used to color all backgrounds. -->
<item name="android:colorBackground">@color/dialer_background_light</item>
<item name="android:colorBackgroundFloating">@color/dialer_background_floating_light</item>
@@ -72,6 +70,7 @@
<item name="android:textColorPrimaryInverse">@color/dialer_primary_text_color_inverse</item>
<item name="android:textColorSecondaryInverse">@color/dialer_secondary_text_color_inverse</item>
<item name="android:textColorHint">@color/dialer_text_hint_color</item>
+ <item name="android:textColorLink">@color/dialer_theme_color</item>
<!-- These will be automatically used to color most Appcompat/Material widgets. -->
<item name="android:colorPrimary">@color/dialer_theme_color</item>
@@ -81,6 +80,10 @@
<item name="android:colorAccent">@color/dialer_secondary_color</item>
<item name="colorAccent">@color/dialer_secondary_color</item>
+ <!-- Used for material buttons and widgets -->
+ <item name="android:colorButtonNormal">@color/dialer_theme_color</item>
+ <item name="android:textAppearanceButton">@style/DialerButtonTextStyle</item>
+
<!-- Used to automatically style check/selected checkbox, switches and radio buttons -->
<item name="colorControlActivated">?android:attr/colorPrimary</item>