android imageview onClick animation

后端 未结 4 1647
生来不讨喜
生来不讨喜 2021-01-30 17:24

I guess this is kind of an odd question but I have tried setting onClicklistener on an ImageView and it has worked. But the problem is that the user cannot sense the click. I me

4条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 18:14

    Not sure if it works, but have you tried setSelected() http://developer.android.com/reference/android/widget/ImageView.html#setSelected(boolean)

提交回复
热议问题