Set colorAccents to Dialer blue, for appropriate settings.
Bug: 17163176
Change-Id: I1a86b435c4b04db46b05bb3111d45503bffc6ddb
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 7add3a8..b948958 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -148,7 +148,7 @@
<activity android:name="FdnList"
android:label="@string/fdnListLabel"
- android:theme="@style/SettingsLight">
+ android:theme="@style/DialerSettingsLight">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
@@ -300,7 +300,7 @@
<activity android:name="GsmUmtsOptions"
android:label="@string/gsm_umts_options"
- android:theme="@style/SettingsLight">
+ android:theme="@style/DialerSettingsLight">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
@@ -308,7 +308,7 @@
<activity android:name="CdmaOptions"
android:label="@string/cdma_options"
- android:theme="@style/SettingsLight">
+ android:theme="@style/DialerSettingsLight">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
@@ -316,7 +316,7 @@
<activity android:name="GsmUmtsCallOptions"
android:label="@string/gsm_umts_options"
- android:theme="@style/SettingsLight">
+ android:theme="@style/DialerSettingsLight">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
@@ -324,7 +324,7 @@
<activity android:name="CdmaCallOptions"
android:label="@string/cdma_options"
- android:theme="@style/SettingsLight">
+ android:theme="@style/DialerSettingsLight">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
@@ -359,7 +359,7 @@
<!-- fdn setting -->
<activity android:name="FdnSetting"
android:label="@string/fdn"
- android:theme="@style/SettingsLight">
+ android:theme="@style/DialerSettingsLight">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
@@ -367,7 +367,7 @@
<activity android:name="EnableFdnScreen"
android:label=""
- android:theme="@style/SettingsLight">
+ android:theme="@style/DialerSettingsLight">
</activity>
<!-- SIM PIN setting -->
@@ -396,12 +396,12 @@
</activity>
<activity android:name="EditFdnContactScreen"
- android:theme="@style/SettingsLight"
+ android:theme="@style/DialerSettingsLight"
android:windowSoftInputMode="stateVisible">
</activity>
<activity android:name="DeleteFdnContactScreen"
- android:theme="@style/SettingsLight"
+ android:theme="@style/DialerSettingsLight"
android:label="@string/delete_fdn_contact">
</activity>
@@ -425,7 +425,7 @@
<activity android:name="CallFeaturesSetting"
android:label="@string/call_settings"
android:configChanges="orientation|screenSize|keyboardHidden"
- android:theme="@style/SettingsLight">
+ android:theme="@style/DialerSettingsLight">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
@@ -493,7 +493,7 @@
<activity android:label="Sip Settings"
android:name="com.android.services.telephony.sip.SipSettings"
- android:theme="@style/SettingsLight"
+ android:theme="@style/DialerSettingsLight"
android:launchMode="singleTop"
android:configChanges="orientation|screenSize|keyboardHidden"
android:uiOptions="splitActionBarWhenNarrow"
@@ -504,7 +504,7 @@
</intent-filter>
</activity>
<activity android:name="com.android.services.telephony.sip.SipEditor"
- android:theme="@style/SettingsLight"
+ android:theme="@style/DialerSettingsLight"
android:configChanges="orientation|screenSize|keyboardHidden"
android:uiOptions="splitActionBarWhenNarrow">
</activity>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index b3c4066..f629da0 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -52,4 +52,5 @@
<color name="setting_secondary_color">#989898</color>
<color name="dialer_dialpad_touch_tint">#331dc7db</color>
<color name="dialer_accent_color">#eeff41</color>
+ <color name="dialer_theme_color">#0288d1</color>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 3a025e2..76b100a 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -175,6 +175,16 @@
<item name="android:textColorSecondary">@color/setting_secondary_color</item>
</style>
+ <style name="DialerSettingsLight" parent="SettingsLight">
+ <item name="android:colorAccent">@color/dialer_theme_color</item>
+ <item name="android:dialogTheme">@style/DialerAlertDialogTheme</item>
+ </style>
+
+ <style name="DialerAlertDialogTheme"
+ parent="@android:style/Theme.Material.Light.Dialog">
+ <item name="android:colorAccent">@color/dialer_theme_color</item>
+ </style>
+
<style name="Empty" parent="@android:style/Theme.Holo">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>