Android - Listen to a disabled button

前端 未结 8 2170
一整个雨季
一整个雨季 2021-01-17 08:56

How can I respond to an event based on clicking a disabled Button. I have a requirement that I have to present Dialog, when a disabled Button

8条回答
  •  自闭症患者
    2021-01-17 09:01

    You should use activated state to enable or disable button . It is clickable or as someone point use selected or checked state. Each of these state has a different meaning so use it carefully

提交回复
热议问题