tag requires a 'drawable' attribute

前端 未结 3 1555
渐次进展
渐次进展 2021-02-09 01:30

I am trying to very simply style a Button. I just want it blue with with text when not pressed, and white with blue text when clicked.

I tried to do this w

3条回答
  •  鱼传尺愫
    2021-02-09 02:04

    Try this way,hope this will help you to solve your problem.

    btn_background.xml

    
    
        
        
        
        
    
    

    btn_textcolor.xml

    
    
    
    
    
    
    
    

提交回复
热议问题