I am working with action bar and i want to customize the action bar logo. For that i have written code (below) but its working for Samsung and MicroMax devices but not for Lenovo K900 and Sony Ericssion Xperia z1. What should i do?
Api 16 its working fine but not in 17 (4.2)
Code:
<style name="AppTheme" parent="AppBaseTheme">
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
<style name="MyActionBar" parent="@android:style/Widget.Holo.Light.ActionBar">
<item name="android:logo">@drawable/product_category_logo</item>
<item name="android:background">@drawable/actionbar_theme</item>
<item name="android:backgroundStacked">@color/black</item>
<item name="android:backgroundSplit">@color/white</item>
<item name="android:textColor">#000000</item>
<item name="android:textSize">16sp</item>
</style>
Values-v14 Folder:
<resources>
<!--
Base application theme for API 14+. This theme completely replaces
AppBaseTheme from BOTH res/values/styles.xml and
res/values-v11/styles.xml on API 14+ devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
Values-v11 Folder:
<resources>
<!--
Base application theme for API 11+. This theme completely replaces
AppBaseTheme from res/values/styles.xml on API 11+ devices.
-->
<!-- <style name="AppBaseTheme" parent="android:Theme.Holo.Light"> -->
<style name="AppBaseTheme" parent="android:Theme.Light"><!-- Recent changes -->
<!-- API 11 theme customizations can go here. -->
</style>
Guy i don't know what should i do. Please help me out.