Style Network Operators settings to Material style.
Bug: 17679475
Change-Id: I2d56b518888f058744f813913a2794ee2af80bff
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 8cac409..d1f8968 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -290,7 +290,7 @@
<activity android:name="NetworkSetting"
android:label="@string/networks"
android:configChanges="orientation|screenSize|keyboardHidden"
- android:theme="@android:style/Theme.Holo.DialogWhenLarge">
+ android:theme="@style/NetworkOperatorsSettingsTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.NETWORK_OPERATOR_SETTINGS" />
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 82b8b6a..3f3990c 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -52,4 +52,8 @@
<color name="setting_secondary_color">#737373</color>
<color name="dialer_dialpad_touch_tint">#330288d1</color>
<color name="floating_action_button_touch_tint">#80ffffff</color>
+
+ <color name="network_operators_color_primary">#ff263238</color>
+ <color name="network_operators_color_primary_dark">#ff21272b</color>
+
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index bc77128..382d39f 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -185,6 +185,12 @@
<item name="android:colorAccent">@color/dialer_theme_color</item>
</style>
+ <style name="NetworkOperatorsSettingsTheme" parent="@android:style/Theme.Material.Light">
+ <item name="android:actionBarTheme">@android:style/ThemeOverlay.Material.Dark.ActionBar</item>
+ <item name="android:colorPrimary">@color/network_operators_color_primary</item>
+ <item name="android:colorPrimaryDark">@color/network_operators_color_primary_dark</item>
+ </style>
+
<style name="Empty" parent="@android:style/Theme.Holo">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>