How to make button non transparent?

后端 未结 6 1359
南笙
南笙 2020-12-31 04:10

I wrote custom View which draws a circle. Then I put it on relative layout. Also I put standard button there, so that they overlap. And I see that button is transparent. How

6条回答
  •  清酒与你
    2020-12-31 04:34

    save below code as xml in drawable folder and give this xml as button background

    
    
        
        
        
         
    
    

    Ex:

    android:background="@drawable/<< your file name>>"
    

提交回复
热议问题