diff options
Diffstat (limited to 'java')
3 files changed, 7 insertions, 2 deletions
diff --git a/java/com/android/dialer/theme/private/res/values/styles.xml b/java/com/android/dialer/theme/private/res/values/styles.xml index 158cd190d..90e452993 100644 --- a/java/com/android/dialer/theme/private/res/values/styles.xml +++ b/java/com/android/dialer/theme/private/res/values/styles.xml @@ -26,6 +26,7 @@ <!-- Used to automatically style AlertDialogs --> <item name="alertDialogTheme">@style/AlertDialogTheme</item> + <item name="android:alertDialogTheme">@style/AlertDialogTheme</item> </style> <style name="Dialer.Dark" parent="Theme.AppCompat"> @@ -38,6 +39,7 @@ <!-- Used to automatically style AlertDialogs --> <item name="alertDialogTheme">@style/AlertDialogTheme</item> + <item name="android:alertDialogTheme">@style/AlertDialogTheme</item> </style> <!-- Used to style all Dialer's button's text. Every button is awarded this for free if the parent @@ -49,7 +51,9 @@ <!-- Used to style all Dialer's AlertDialogs. Every button is awarded this for free if the parent activity's theme extends from Dialer.ThemeBase(.NoActionBar) or doesn't specify a theme. --> <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert"> + <item name="android:textColorPrimary">@color/dialer_primary_text_color</item> <!-- TODO(a bug): figure out why ?android:attr/colorPrimary doesn't work here --> + <item name="android:colorAccent">@color/dialer_theme_color</item> <item name="colorAccent">@color/dialer_theme_color</item> </style> -</resources>
\ No newline at end of file +</resources> diff --git a/java/com/android/incallui/incall/impl/res/color/incall_button_icon.xml b/java/com/android/incallui/incall/impl/res/color/incall_button_icon.xml index c6ed6e72f..68b34c89d 100644 --- a/java/com/android/incallui/incall/impl/res/color/incall_button_icon.xml +++ b/java/com/android/incallui/incall/impl/res/color/incall_button_icon.xml @@ -16,6 +16,6 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:color="?android:attr/colorPrimary" android:state_checked="true"/> + <item android:color="?android:attr/colorPrimaryDark" android:state_checked="true"/> <item android:color="?android:attr/colorBackgroundFloating"/> </selector> diff --git a/java/com/android/incallui/theme/res/values/styles.xml b/java/com/android/incallui/theme/res/values/styles.xml index f4b55c3e6..3475e3548 100644 --- a/java/com/android/incallui/theme/res/values/styles.xml +++ b/java/com/android/incallui/theme/res/values/styles.xml @@ -72,6 +72,7 @@ @dimen/incall_end_call_spacing </item> <item name="dialpad_elevation">10dp</item> + <item name="dialpad_text_color">?android:attr/textColorPrimaryInverse</item> <item name="dialpad_text_color_secondary">?android:attr/textColorSecondaryInverse</item> </style> |