Custom title bar without padding (Android)

后端 未结 7 699
失恋的感觉
失恋的感觉 2020-11-30 07:39

So I am using the techniques in this thread to use a custom background for my titlebar. Unfortunately the framework places my layout inside a FrameLayout (

7条回答
  •  佛祖请我去吃肉
    2020-11-30 08:43

    I added the following padding item the AppTheme in styles.xml

    
    

    The Application manifest uses that theme:

    
    ...
    

    This resolved it for me.

提交回复
热议问题