Dialer: Improve Material You design

* Make action bar in Settings and Call stats follow deeper accent color (similar to Messaging and Contacts)
* Fix mismatch statusbar in call stats history
* Fix search bar color for light theme
* Fix background to follow slightly deeper neutral color (similar to Messaging and Contacts)
* Remove some duplicate attributes in styles

Change-Id: I09001b15f42c8ba0b06285bcf04896f86f5d3f7b
diff --git a/java/com/android/dialer/calldetails/res/values/styles.xml b/java/com/android/dialer/calldetails/res/values/styles.xml
index 4b861f5..0748c52 100644
--- a/java/com/android/dialer/calldetails/res/values/styles.xml
+++ b/java/com/android/dialer/calldetails/res/values/styles.xml
@@ -16,7 +16,6 @@
   -->
 <resources>
   <style name="CallDetailsActionItemStyle" parent="Dialer.TextAppearance.Secondary.Ellipsize">
-    <item name="android:foreground">?android:attr/selectableItemBackground</item>
     <item name="android:clickable">true</item>
     <item name="android:drawablePadding">28dp</item>
     <item name="android:gravity">center_vertical</item>
@@ -38,4 +37,4 @@
     <item name="android:textAllCaps">false</item>
     <item name="textAllCaps">false</item>
   </style>
-</resources>
\ No newline at end of file
+</resources>
diff --git a/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml b/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml
index a329d4f..1fe0963 100644
--- a/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml
+++ b/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml
@@ -15,15 +15,15 @@
   -->
 <resources>
   <!-- Essential theme colors -->
-  <color name="dialer_theme_color">@android:color/system_accent1_400</color>
+  <color name="dialer_theme_color">@android:color/system_accent1_600</color>
   <color name="dialer_theme_color_20pct">#332A56C6</color>
   <color name="dialer_theme_color_dark">@color/dialer_background_color</color>
   <color name="dialer_secondary_color">@android:color/system_accent3_400</color>
-  <color name="dialer_background_color">@android:color/system_neutral1_0</color>
+  <color name="dialer_background_color">@android:color/system_neutral1_50</color>
   <color name="dialer_background_floating">@android:color/system_neutral1_100</color>
   <color name="dialer_ripple_color">#1f000000</color>
-  <color name="dialer_search_bar_color">@android:color/system_neutral1_0</color>
-  <color name="settings_primary_dark">@android:color/system_accent2_200</color>
-  <color name="settings_primary">@color/settings_primary_dark</color>
-  <color name="rounded_dialpad_bg_color">@android:color/system_neutral1_50</color>
+  <color name="dialer_search_bar_color">@android:color/system_neutral1_100</color>
+  <color name="settings_primary_dark">@android:color/system_accent1_700</color>
+  <color name="settings_primary">@android:color/system_accent1_600</color>
+  <color name="rounded_dialpad_bg_color">@android:color/system_neutral1_100</color>
 </resources>
diff --git a/java/com/android/dialer/theme/hidden/res/values/styles.xml b/java/com/android/dialer/theme/hidden/res/values/styles.xml
index 44a35f8..dbd9ab9 100644
--- a/java/com/android/dialer/theme/hidden/res/values/styles.xml
+++ b/java/com/android/dialer/theme/hidden/res/values/styles.xml
@@ -52,10 +52,8 @@
      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>
-    <item name="android:textColorPrimary">@color/dialer_primary_text_color</item>
     <item name="android:textColorSecondary">@color/dialer_secondary_text_color</item>
   </style>
 </resources>