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