From c5c42189eeab0389a94717de9a66c6d00068e8bf Mon Sep 17 00:00:00 2001 From: calderwoodra Date: Tue, 22 May 2018 15:30:39 -0700 Subject: Began implementation of Dialer dark theme. - README on how to properly theme Dialer going forward. - Migrated all widgets to use global colors. - Removed all activity and application themes where it wasn't necessary. - Added themeing test rule for Espresso tests. Bug: 79883035 Test: tap PiperOrigin-RevId: 197634256 Change-Id: I4b7d94d45aeeb59d484b0069fdd1e200a654910b --- .../res/color/submit_button_background_color.xml | 21 --------------------- .../impl/res/drawable/incallui_message_bubble.xml | 21 +++++++++++++++++++++ .../rtt/impl/res/drawable/message_bubble.xml | 21 --------------------- .../incallui/rtt/impl/res/layout/audio_route.xml | 2 +- .../incallui/rtt/impl/res/layout/frag_rtt_chat.xml | 4 ++-- .../incallui/rtt/impl/res/layout/rtt_banner.xml | 6 +++--- 6 files changed, 27 insertions(+), 48 deletions(-) delete mode 100644 java/com/android/incallui/rtt/impl/res/color/submit_button_background_color.xml create mode 100644 java/com/android/incallui/rtt/impl/res/drawable/incallui_message_bubble.xml delete mode 100644 java/com/android/incallui/rtt/impl/res/drawable/message_bubble.xml (limited to 'java/com/android/incallui/rtt/impl') diff --git a/java/com/android/incallui/rtt/impl/res/color/submit_button_background_color.xml b/java/com/android/incallui/rtt/impl/res/color/submit_button_background_color.xml deleted file mode 100644 index 0da2c374a..000000000 --- a/java/com/android/incallui/rtt/impl/res/color/submit_button_background_color.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/com/android/incallui/rtt/impl/res/drawable/incallui_message_bubble.xml b/java/com/android/incallui/rtt/impl/res/drawable/incallui_message_bubble.xml new file mode 100644 index 000000000..31044b64e --- /dev/null +++ b/java/com/android/incallui/rtt/impl/res/drawable/incallui_message_bubble.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/java/com/android/incallui/rtt/impl/res/drawable/message_bubble.xml b/java/com/android/incallui/rtt/impl/res/drawable/message_bubble.xml deleted file mode 100644 index 2b01f62f9..000000000 --- a/java/com/android/incallui/rtt/impl/res/drawable/message_bubble.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/com/android/incallui/rtt/impl/res/layout/audio_route.xml b/java/com/android/incallui/rtt/impl/res/layout/audio_route.xml index f098316a1..6f22febdf 100644 --- a/java/com/android/incallui/rtt/impl/res/layout/audio_route.xml +++ b/java/com/android/incallui/rtt/impl/res/layout/audio_route.xml @@ -29,7 +29,7 @@ + android:background="@color/dialer_divider_line_color"/> diff --git a/java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml b/java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml index 8a5bba28d..065aa8c34 100644 --- a/java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml +++ b/java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml @@ -22,7 +22,7 @@ + android:tint="@color/dialer_end_call_button_color"/> + android:tint="?colorIconOnUnthemedDarkBackground"/>