Android 版 Twitter 类似滑动到一侧的快捷菜单

发布于 2024-12-04 02:01:53 字数 241 浏览 0 评论 0原文

屏幕截图 http://dl.dropbox.com/u/33331786/swipedemo.png

我想知道如何设置动画,例如在最新的 Android 应用程序 Twitter 中,您可以将推文滑动到一侧,然后快速将出现菜单(不是旧的弹出菜单)。 谢谢..

ScreenShot http://dl.dropbox.com/u/33331786/swipedemo.png

I would like to know how to setup the animation where, for in example in the latest Twitter for Android App, you can swipe a tweet to the side, and a quick menu will appear(not the old popup one).
Thanks..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小巷里的女流氓 2024-12-11 02:01:53

因为这是一个非常酷的功能,但我没有找到它的实现,所以我自己创建了它。我启动了一个包含此功能的项目(除了其他开发工具之外)。

更新

该项目已移至 GitHub (android-toolbox

)项目包含该功能,同时还修复了一些很好的错误,因为我在另一个应用程序中使用了它。该功能称为可滑动快速操作

有一个展示应用程序可以演示它并向您展示代码的样子。对于快速入门,下载部分中有一个 APK 文件,因此您可以看到它是什么无需阅读您在 项目 wiki 中找到的所有内容。

如果您想在实际应用程序中看到此功能,您可以查看我的 banshee-remote 项目屏幕截图)。仅当您使用 Banshee 作为您最喜欢的音乐播放器时,该应用程序本身才有趣。

非常欢迎批评、请求、错误报告或任何类型的反馈!我会回复每条消息;-)

Since this is a really cool feature and I didn't find an implementation for that I created it myself. I started a project which will contain this feature (besides other dev tools).

Update:

The project has moved to GitHub (android-toolbox)

The project contains that feature and meanwhile has some good bugfixes since I used it in another app. The feature is called swipeable quick action.

There's a showcase application which demonstrates it and shows you what the code looks like. For quick starters there's an APK file in the download section so you can see what it it is without have to read everything you find in the project wiki.

If you want to see this feature in a real application you can check my banshee-remote project (screenshots). The application itself is interesting only when your using Banshee as your favorite music player.

Critic, requests, bug reports or any kind of feedback is very welcome! I'll respond to every message ;-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文