Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
574 views
in Technique[技术] by (71.8m points)

animation - Twitter for Android like swipe-to-side quick menu

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..

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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 ;-)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...