Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Photo Gallery in Android

Tags:

android

I am trying implement a photo gallery similar to facebook in Android.

I was wondering where I could look for information on how to do this. I realize some of it is done using animations for example when you click on a photo the comments, share and next and previous buttons are all implemented using animation.

like image 907
user648929 Avatar asked Apr 14 '11 01:04

user648929


1 Answers

I hacked a simple android image gallery, it's on github.

You can actually take a look, and get those codes you want, then build on top of it for more features.

For example, you can use SimpleOnGestureListener to specify what to do on single tap event, maybe to show the options to share, comments, browse next/previous photo etc. For animation, you can also add View Animation as transition when showing the options.

Hope it helps!

like image 133
alvinsj Avatar answered Sep 21 '22 08:09

alvinsj