Android uses textview to set the onclick property. The solution is invalid
•
Android
Android provides onclick attribute for view in the layout file. The usage method is as follows:
Note that the layout file adds clickable = true to textview (textview defaults to false), so it can be used normally.
The above is what Xiaobian brought to you. Android uses textview and sets @ r whose onclick property is invalid_ 502_ 1911 @ it's all. I hope you can support programming tips~
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码