我正在尝试创建一个使用Android中scrollView的应用程序。恰好scrollView不支持矩阵。因此,我无法像这样做:
Matrix matrix = new Matrix();
Matrix eventMatrix = new Matrix();
// possible touch states
final static int NONE = 0;
final static int DRAG = 1;
final static int ZOOM = 2;
int touchState = NONE;
请问是否有其他方式可以实现缩放和捏合功能?感谢帮助。
谢谢。
[重新编辑]
scrollView 将作为容器,以便可以在其中放置各种 UI。这样,scrollView 可以作为一个 UI 部分。
谢谢。