AppCompat Actionbar styling

后端 未结 4 1741
别那么骄傲
别那么骄傲 2021-02-07 20:03

I\'m currently trying to use AppCompat instead of ActionbarSherlock. On Android 4+ devices I don\'t run into any problems, as the normal Actionbar and Holo theme are used.

4条回答
  •  青春惊慌失措
    2021-02-07 20:43

    You have to create your own style with the image you want to put on background. In your style.xml, you should create something similar to this:

    values/styles.xml

        
    
        
    

    values-v14/styles.xml

        
    
        
    

    and you can use this 9-patch image :

    9-patch image

提交回复
热议问题