<style name="MyActionBar.ActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar">
<item name="android:background">@drawable/button_style</item>
<item name="android:titleTextStyle">@style/MyTheme.ActionBar.TitleTextStyle</item>
</style>
How can i customize the actibar's navigate up button. Actualy i want that it's colors changes when i click it. For example Whatsapp, when i click back button the button's background color happens blue. How can i do it?
You have to override the android:homeAsUpIndicator
for your custom theme for your project.
<!-- Base application theme. -->
<style name="AppTheme" parent="android:Theme.Holo.Light">
<item name="android:homeAsUpIndicator">@drawable/ic_action_up_caret</item>
</style>
Then set your custom there as the app theme in your manifest file (if you have not already):
<application
android:name="com.example.app"
android:theme="@style/AppTheme" >
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With