Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
非常感谢。我得到了问题的答案,,,,:)
您可以使用 TabletLayout 将屏幕划分为 3x3
然后使用 onTouch() 监听器获取 X 和 Y 来检查你的手指是否到达了那些部分
前任。如果 x > 200 & x < 280 && y > 400 y < 480
现在取决于您的图形:]
That Android library project extracted the sources from Android framework. You can make use of it or extract it on your own from the sources