Hello everybody
i'm doing prpve with theme
wonder if it is possible with the Theme.Holo.Light
change color to the actionbar and navigationBar
Thank you
i'm doing prpve with theme
wonder if it is possible with the Theme.Holo.Light
change color to the actionbar and navigationBar
Thank you
Code:
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, colors.xml,
<resources>
<color name="actionbar">#ff039be5</color>
<color name="statusbar">#ff039be5</color>
<color name="textColorPrimary">#FF343434</color>
<color name="navigationBar">#FF343434</color>
</resources>
)
CreateResource(values-v20, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Holo.Light">
<!-- <style name="LightTheme" parent="@android:style/Theme.Material.Light"> -->
<item name="android:colorPrimary">@color/actionbar</item>
<item name="android:colorPrimaryDark">@color/statusbar</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:navigationBarColor">@color/navigationBar</item>
</style>
</resources>
)
CreateResource(values-v14, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/CustomActionBarStyle</item>
</style>
<style name="CustomActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">@color/actionbar</item>
</style>
</resources>
)