Android Textview onTouchEvent
我试图让 TextView 跟随我的手指触摸。我不知道如何让它工作,因为没有一个布局使用坐标系统。有什么想法吗?
I'm trying to have a TextView follow my finger on touch. I have no idea on how to get this to work because none of the layouts use a coordinates system. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个绝对的布局,但它已被贬低。不确定你是否可以用任何“漂亮”和“光滑”的外观来做到这一点,但也许你可以通过相对布局来实现一些东西。
Android:将视图放置在任意位置
There is an absolute layout, but it's depricated. Not sure if you can do this with any "pretty" and "slick" look to it, but perhaps you can achieve something with relative layout.
Android: Placing a view in an arbitrary location