Changing style of actionbar in settings
Necessary change in order to use actionbar overlay for full screen
This commit is contained in:
parent
83d2e53a25
commit
a4d12ab2d3
@ -107,7 +107,7 @@
|
||||
android:name="acr.browser.lightning.SettingsActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/settings"
|
||||
android:theme="@style/LightTheme" >
|
||||
android:theme="@style/DefaultTheme" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SETTINGS" />
|
||||
|
||||
@ -118,7 +118,7 @@
|
||||
android:name="acr.browser.lightning.AdvancedSettingsActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/advanced"
|
||||
android:theme="@style/LightTheme" >
|
||||
android:theme="@style/DefaultTheme" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.ADVANCED_SETTINGS" />
|
||||
|
||||
@ -143,7 +143,7 @@
|
||||
android:name="acr.browser.lightning.LicenseActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||
android:label="@string/licenses"
|
||||
android:theme="@style/LightTheme" >
|
||||
android:theme="@style/DefaultTheme" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.LICENSE" />
|
||||
|
||||
|
@ -1,49 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- Application theme. -->
|
||||
<style name="LightTheme" parent="android:Theme.Holo.Light">
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="progressColor">@color/gray_medium</item>
|
||||
<item name="arrowBackDrawable">@drawable/ic_action_back</item>
|
||||
<item name="numberColor">@color/gray_dark</item>
|
||||
<item name="autoCompleteTitleColor">@color/black</item>
|
||||
<item name="autoCompleteUrlColor">@color/gray_medium</item>
|
||||
<item name="arrowForwardDrawable">@drawable/ic_action_forward</item>
|
||||
<item name="android:actionBarStyle">@style/LightActionBar</item>
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
-->
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme" parent="android:Theme.Holo.Light.DarkActionBar">
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="progressColor">@color/gray_extra_dark</item>
|
||||
<item name="numberColor">@color/gray_light</item>
|
||||
<item name="autoCompleteTitleColor">@color/white</item>
|
||||
<item name="autoCompleteUrlColor">@color/gray_light</item>
|
||||
<item name="arrowBackDrawable">@drawable/ic_action_back_dark</item>
|
||||
<item name="arrowForwardDrawable">@drawable/ic_action_forward_dark</item>
|
||||
<item name="android:actionBarStyle">@style/DarkActionBar</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkActionBar" parent="android:Widget.Holo.Light.ActionBar.Solid.Inverse">
|
||||
<item name="android:background">@color/gray_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="LightActionBar" parent="android:Widget.Holo.Light.ActionBar.Solid">
|
||||
<item name="android:background">@color/gray_light</item>
|
||||
</style>
|
||||
|
||||
<style name="boldText" >
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
<style name="normalText" >
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:fontFamily">sans-serif-light</item>
|
||||
</style>
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<style name="DefaultTheme" parent="android:Theme.Holo.Light">
|
||||
<item name="progressColor">@color/gray_medium</item>
|
||||
<item name="arrowBackDrawable">@drawable/ic_action_back</item>
|
||||
<item name="numberColor">@color/gray_dark</item>
|
||||
<item name="autoCompleteTitleColor">@color/black</item>
|
||||
<item name="autoCompleteUrlColor">@color/gray_medium</item>
|
||||
<item name="arrowForwardDrawable">@drawable/ic_action_forward</item>
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
|
||||
-->
|
||||
</style>
|
||||
|
||||
<!-- Application theme. -->
|
||||
<style name="LightTheme" parent="android:Theme.Holo.Light">
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="progressColor">@color/gray_medium</item>
|
||||
<item name="arrowBackDrawable">@drawable/ic_action_back</item>
|
||||
<item name="numberColor">@color/gray_dark</item>
|
||||
<item name="autoCompleteTitleColor">@color/black</item>
|
||||
<item name="autoCompleteUrlColor">@color/gray_medium</item>
|
||||
<item name="arrowForwardDrawable">@drawable/ic_action_forward</item>
|
||||
<item name="android:actionBarStyle">@style/LightActionBar</item>
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
-->
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme" parent="android:Theme.Holo.Light.DarkActionBar">
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="progressColor">@color/gray_extra_dark</item>
|
||||
<item name="numberColor">@color/gray_light</item>
|
||||
<item name="autoCompleteTitleColor">@color/white</item>
|
||||
<item name="autoCompleteUrlColor">@color/gray_light</item>
|
||||
<item name="arrowBackDrawable">@drawable/ic_action_back_dark</item>
|
||||
<item name="arrowForwardDrawable">@drawable/ic_action_forward_dark</item>
|
||||
<item name="android:actionBarStyle">@style/DarkActionBar</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkActionBar" parent="android:Widget.Holo.Light.ActionBar.Solid.Inverse">
|
||||
<item name="android:background">@color/gray_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="LightActionBar" parent="android:Widget.Holo.Light.ActionBar.Solid">
|
||||
<item name="android:background">@color/gray_light</item>
|
||||
</style>
|
||||
|
||||
<style name="boldText">
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
<style name="normalText">
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:fontFamily">sans-serif-light</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user