开发者

Android button tap slop region

In android, when I press and hold in a button, then move the pointer outside the button, the button un-highlights. But I have to move it significantly outside the 开发者_StackOverflow中文版button; just a few pixels isn't enough. And the slop seems to be wider than it is tall. What are the values of the slop dimensions? Where can I find them?


The values, by experimentation, appear to be SLOP_X = 24 and SLOP_Y = 0. Not real sure about the Y slop; scroll sensitivity is involved and it gets a little weird.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜