0

I have try to change style.xml to change app theme like following:

<resources>

<!-- Base application theme. -->
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
    <!-- Customize your theme here. -->

</style>

<style name="AppTheme" parent="AppBaseTheme" >
    <item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
<style name="MyActionBar" parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse">
    <item name="android:background">@color/primary_color</item>
</style>

give me nice solution.

Thanks in advance

Himank shah
  • 131
  • 13
Subhash Khimani
  • 427
  • 7
  • 22

1 Answers1

1

Try something like this; I hope this is what you want and will help you:

 <style name="AppTheme" parent="Theme.AppCompat.Light">

    <item name="colorPrimary">#009000</item>
</style>
Alvin
  • 894
  • 8
  • 16