diff options
author | calderwoodra <calderwoodra@google.com> | 2018-05-19 00:05:02 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-21 13:17:30 -0700 |
commit | 929539eb864822d669265b142bdcc49b6cf8ea6b (patch) | |
tree | fcaef3fac4068e3669ca5916f7a743d0d5e41bbb /java/com/android/dialer/app/res/values/colors.xml | |
parent | ea7399a7c0c8a3832a6592aee0a0372c300b11f5 (diff) |
Implement a global theme to be easily configured in Dialer.
deleted several colors and unified them across the app
migrated several alert dialogs to support alert dialogs
added many todos
migrated several tests from GoogleRobolectricTestRunner to RobolectricTestRunner
Because of the test migration:
- moved dialpad theme attributes into dialpad/theme
- moved incall ui theme attributes into incallui/theme
Bug: 79883035
Test: tap
PiperOrigin-RevId: 197246477
Change-Id: Ifc534793bc32757bbbf2007a7c40287c8d0817ad
Diffstat (limited to 'java/com/android/dialer/app/res/values/colors.xml')
-rw-r--r-- | java/com/android/dialer/app/res/values/colors.xml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/java/com/android/dialer/app/res/values/colors.xml b/java/com/android/dialer/app/res/values/colors.xml index e79c5c5ed..2b8d63ac0 100644 --- a/java/com/android/dialer/app/res/values/colors.xml +++ b/java/com/android/dialer/app/res/values/colors.xml @@ -15,13 +15,8 @@ --> <resources> - <color name="dialer_flat_button_text_color">@color/dialer_theme_color</color> + <color name="dialer_flat_button_text_color">?android:attr/colorPrimary</color> - <!-- Color for the setting text. --> - <color name="setting_primary_color">@color/dialer_primary_text_color</color> - <!-- Color for the setting description text. --> - <color name="setting_secondary_color">@color/dialer_secondary_text_color</color> - <color name="setting_disabled_color">#aaaaaa</color> <color name="setting_background_color">#ffffff</color> <!-- 54% black --> @@ -50,7 +45,7 @@ <!-- Colour of voicemail progress bar to the right of position indicator. --> <color name="voicemail_playback_seek_bar_yet_to_play">#cecece</color> <!-- Colour of voicemail progress bar to the left of position indicator. --> - <color name="voicemail_playback_seek_bar_already_played">@color/dialer_theme_color</color> + <color name="voicemail_playback_seek_bar_already_played">?android:attr/colorPrimary</color> <!-- Background color for search results and call details --> <color name="background_dialer_results">#f9f9f9</color> @@ -76,7 +71,7 @@ <color name="blocked_number_icon_tint">#616161</color> <color name="blocked_number_background">#FFFFFF</color> <color name="blocked_number_block_color">#F44336</color> - <color name="blocked_number_header_color">@color/dialer_theme_color</color> + <color name="blocked_number_header_color">?android:attr/colorPrimary</color> <color name="blocked_number_disabled_emergency_background_color">#E0E0E0</color> <color name="add_blocked_number_icon_color">#bdbdbd</color> |