Button highlight in android

后端 未结 5 1746
星月不相逢
星月不相逢 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:17

    To get you to the correct resource here is the documentation of the StateList Drawable.
    check this link

    You just create and define it in your res/drawable subdirectory and set it as your buttons background.

提交回复
热议问题