I want to use the android:onClick="OnClickMethod" xml android:onClick="OnClickMethod" .
However, this means that this method will only be called onClick (i.e. in fact, the user needs to double-click editText) instead of onTouch.
Is there an equivalent way that I can call " OnClickMethod " when I click on a user, instead of clicking on it through XML?
source share