Fix bug #14323392 Old Settings screen is shown while choosing Settings shortcut

- move the Theme from styles.xml to themes.xml
- update the theme "Theme.CreateShortCut" to match the Settings App one
for Quantum Paper theming

Change-Id: I491c1e8e34eebea8c63e056e9514190e72ffa994
This commit is contained in:
Fabrice Di Meglio
2014-05-20 19:23:27 -07:00
parent 7307096e4a
commit 181b98032d
2 changed files with 12 additions and 3 deletions

View File

@@ -86,9 +86,6 @@
<item name="android:windowContentOverlay">@null</item>
</style>
<style name="Theme.CreateShortCut" parent="android:Theme.Quantum.Light.DialogWhenLarge">
</style>
<style name="PreferenceHeaderPanelSinglePane">
<item name="android:layout_marginStart">0dp</item>
<item name="android:layout_marginEnd">0dp</item>

View File

@@ -59,6 +59,18 @@
<item name="wifi_signal">@drawable/wifi_signal_light</item>
</style>
<style name="Theme.CreateShortCut" parent="android:Theme.Quantum.Light.DialogWhenLarge">
<item name="android:actionBarWidgetTheme">@android:style/ThemeOverlay.Quantum.ActionBarWidget</item>
<item name="android:actionBarTheme">@android:style/ThemeOverlay.Quantum.Dark</item>
<item name="android:colorPrimary">@color/actionbar_background_color</item>
<!-- Used by the bouncing effect for ListView and ScrollView -->
<item name="android:colorPrimaryLight">@color/actionbar_background_color</item>
<!-- Used by the StatusBar and NavBar -->
<item name="android:colorPrimaryDark">@color/actionbar_background_color</item>
<item name="android:colorAccent">@color/quantum_orange_A200</item>
</style>
<style name="Theme.Settings" parent="@android:style/Theme.Quantum.Light.DarkActionBar">
<item name="@*android:preferenceHeaderPanelStyle">@style/PreferenceHeaderPanelSinglePane</item>
<item name="@*android:preferencePanelStyle">@style/PreferencePanelSinglePane</item>