幻灯片解锁 ImageView
我想创建一个 Slide Unlocker(就像在 iPhone 上一样)
我可以不要使用手势,对吧?因为我应该可以永久改变Unlocker的ImageView的位置。 ImageView 应该“跟随”我的手指。
我必须在 ImageView 上使用简单的 onTouchListener 吗?
Possible Duplicate:
Slide Unlocker ImageView ViewFlipper
I want to create a Slide Unlocker (just like on the iPhone)
I can´t use gestures for that, right? Because I should can change the position of the ImageView of the Unlocker permanently. The ImageView should "follow" my finger.
Do I have to use a simple onTouchListener on the ImageView?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该提高接受率,如果您的接受率不是 0%,那么您更有可能获得更好的帮助。
您可能可以重新调整 SlidingDrawer 的用途来执行您想要的操作。
另一种选择是拉出 SlidingTab java文件并将其包含在您自己的项目中,并按照您喜欢的方式使用它。由于该对象未包含在公共 API 中,如果您希望在应用程序中使用它,则必须提供您自己的副本。
You should work on your accept rate, you're more likely to get better help if you don't have 0%.
You could likely repurpose a SlidingDrawer to do what you want.
The other option is to pull out the SlidingTab java file from the Android source code and include it in your own project, and make use of it how you like. Since this Object was not included in the public APIs you must provide your own copy of it if you wish to use it in your application.