Reputation: 220
Can someone please tell me how do I create the android phone style picture view in the gallery. That is, when you click on a picture, it pops up as a full screen and you can swipe your finger across the screen and flip through the other pictures in the folder.
How do you create that particular view?
Upvotes: 2
Views: 710
Reputation: 1414
You can use a ViewFlipper
to easily switch between different child views and you can use a GestureDetector
to detect the swipe gesture.
Upvotes: 6
Reputation: 5435
Override the gallery adapter with a base adapter which has this behavior.
Upvotes: 0