I read https://developer.android.com/training/basics/actionbar/styling.html and use <style name="MyActionBar" parent="@style/Widget.Holo.Light.ActionBar.Solid.Inverse"> *<item name="android:background">@drawable/actionbar_background </item>* </style> to set the ActionBar background. Nevertheless, I find it will stretch both X and Y to fit the aciton bar if I use an image. I also have tried to use ActionBar#setCustomView() but it cover the ActionBar title so that I cannot see the ActionBar title, which is not what I would like to achieve. Is there a way I can control the background scale method (i.e. centerCrop) and see the ActionBar title?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

