summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/main/impl/res/values-v27
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2018-05-19 00:05:02 -0700
committerCopybara-Service <copybara-piper@google.com>2018-05-21 13:17:30 -0700
commit929539eb864822d669265b142bdcc49b6cf8ea6b (patch)
treefcaef3fac4068e3669ca5916f7a743d0d5e41bbb /java/com/android/dialer/main/impl/res/values-v27
parentea7399a7c0c8a3832a6592aee0a0372c300b11f5 (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/main/impl/res/values-v27')
-rw-r--r--java/com/android/dialer/main/impl/res/values-v27/styles.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/com/android/dialer/main/impl/res/values-v27/styles.xml b/java/com/android/dialer/main/impl/res/values-v27/styles.xml
index 86e6f28a6..9462bbc25 100644
--- a/java/com/android/dialer/main/impl/res/values-v27/styles.xml
+++ b/java/com/android/dialer/main/impl/res/values-v27/styles.xml
@@ -17,10 +17,11 @@
<resources>
<!-- Used on sdk 27 and above -->
- <style name="NuiActivityTheme" parent="NuiActivityThemeBase">
+ <!-- TODO(a bug): refactor into dialer/theme -->
+ <style name="MainActivityTheme" parent="MainActivityThemeBase">
<!-- Used to change the navigation bar color -->
<item name="android:windowLightNavigationBar">true</item>
- <item name="android:navigationBarColor">@color/background_dialer_white</item>
+ <item name="android:navigationBarColor">?android:attr/colorBackgroundFloating</item>
<item name="android:navigationBarDividerColor">#E0E0E0</item>
</style>
</resources> \ No newline at end of file