Is it possible to change the left drawable of a Button in Selector xml?

后端 未结 1 1145
青春惊慌失措
青春惊慌失措 2021-01-04 19:00

I have a left drawable assigned to a button as well as a background drawable. I want to supply a selector so that when a user presses/focuses/disables the button, its appear

相关标签:
1条回答
  • 2021-01-04 19:53

    Create a separate selector and try setting that as the drawableLeft on your Button.

    0 讨论(0)
提交回复
热议问题