Button highlight in android

后端 未结 5 1750
星月不相逢
星月不相逢 2021-02-08 23:59

I have the following code for a button in the layout file for my application

5条回答
  •  情歌与酒
    2021-02-09 00:04

    What you need is selector, its a simple drawable file in which you can change colors for example of your button depending of its state, for example:

    
    
      
       
       
    
    

提交回复
热议问题