[Android] Solved: TextView must be clicked twice to trigger the onClickListener method

background

User feedback the way my two TextViews have to be clicked twice to trigger the onClickListener

solve

android:textIsSelectable="true"
It turns out that the reference is used in xml.
This is a pit in android, just skip it~
insert image description here

Guess you like

Origin blog.csdn.net/weixin_44002043/article/details/130562113