How to add padding for background image

后端 未结 4 962
野的像风
野的像风 2021-02-02 08:11

I have a LinearLayout which has a background image (a 9 patched png file). How can I add padding to left and right so that the background image does not take up the

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-02 08:32

    Ur background drawable should be like this,using android:bottom

    
    
        
        
    
    
    

提交回复
热议问题