What is the “state_focused” state for a Button?

前端 未结 5 1051
我在风中等你
我在风中等你 2020-12-13 01:00

I would like a Button background to remain a certain color after the button is clicked, and change colors again when some other button is pressed. I thought this was the \"

5条回答
  •  孤街浪徒
    2020-12-13 01:20

    state_focused is whenever the button is focused on using a dpad or the trackball. Views don't generally show a focused state when using touch.

提交回复
热议问题