How to set transparency of a background image Android xml file

后端 未结 9 712
南笙
南笙 2020-12-08 02:24

I have put an image in as the background of my android application with the following line of code:

 android:background=\"@drawable/background\"
9条回答
  •  不知归路
    2020-12-08 03:07

    you can create a layer-list resource and set it to background property of your view (layout)

    background_image_with_alpha.xml

    
    
    
        
            
    
            
        
    
    
    

提交回复
热议问题