Google's new prelaunch report now warns of "Multiple long clickable items share this location on the screen."

114 views
Skip to first unread message

davefinney

unread,
Mar 26, 2019, 1:24:32 PM3/26/19
to DroidScript
Google has a new prelaunch report that is more detailed and warns of things that might be relevant.

Eg, "This long clickable item has the same on-screen location ... as 1 other item(s) with those properties.

The item in question is an app.CreateText with another app.CreateText on top. The lower does not have any SetOnTouch, but the upper has a SetOnTouchDown (neither has a long touch).

It looks like Google sees app.CreateText as a "Clickable item", even if there is no SetOnTouch.

The link Google gives suggests: "if the View is not clickable ... remove its OnClickListener or set android:clickable="false". In this way, you tell accessibility services to consider the View not clickable.


So what's the best way to make app.CreateText non clickable?
And do we even need to?

Dave

unread,
Mar 26, 2019, 7:54:29 PM3/26/19
to DroidScript
Try setting the 'TouchThrough' option on the upper Text control.
Reply all
Reply to author
Forward
0 new messages