diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-03-17 08:23:58 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-03-21 03:46:48 -0700 |
commit | fae80bfc230e05ca01019a214e45da552b2dd989 (patch) | |
tree | fb50f256bac19daad0637cb1b69615f09f224710 /res | |
parent | f35d67066fa2add3c91a61be055edb3b1eb7d78a (diff) | |
download | android_packages_apps_Dialer-fae80bfc230e05ca01019a214e45da552b2dd989.tar.gz android_packages_apps_Dialer-fae80bfc230e05ca01019a214e45da552b2dd989.tar.bz2 android_packages_apps_Dialer-fae80bfc230e05ca01019a214e45da552b2dd989.zip |
Fix crash in call log.
The latest CoordinatorLayout code checks for being used with an
AppCompat theme on creation. As we neither need nor want to go the full
AppCompat route and the CoordinatorLayout works fine without the
AppCompat theme for what we're using it for, pretend our theme is
AppCompat based just to make the check happy.
Change-Id: I5fa321790fe539ceee652da8416297e009e1c495
Diffstat (limited to 'res')
-rw-r--r-- | res/values/styles.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index 816e1ab33..d80ed9fbf 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -78,6 +78,13 @@ <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item> <item name="dialpad_key_button_touch_tint">@color/dialer_dialpad_touch_tint</item> <item name="android:colorControlActivated">@color/dialer_theme_color</item> + + <!-- Trick the support libraries into thinking this is an AppCompat theme. We don't + need the full thing, but we want to use CoordinatorLayout in our view hierarchy, + which checks for being used with an AppCompat theme on creation. --> + <item name="colorAccent">@color/dialtacts_theme_color</item> + <item name="colorPrimary">@color/dialer_theme_color</item> + <item name="colorPrimaryDark">@color/dialer_theme_color_dark</item> </style> <!-- Action bar overflow menu icon. --> |