I am working on Android. I kept images in GridView. Now when I click on any image that image should display in seperate screen and from there the remaining images should also open while swiping. How can I achieve that task? Please help me in this regard.
Use a ViewPager.
The official tutorial is here: Using ViewPager for Screen Slides
Since you didn't actually explained so there can be no specific answer and here is a links you might use
1-using PageAdapter
or you can use GestureDetector witch you can search in here
hope it would be helpful .
Related
I would like to ask about the tinder-like swipeable card stack for my application. The point of it is that users will be able to see photos and swipe when they want to see another one. I'm already sending and receiving images to and from webservice and I have been trying some libraries that could manage to do this (googled 'swipedeck' and 'swipecard') but non of them either offered enough flexibility to customize actions fully, or were not working with ImageViews, only TextView.
Now I'm new at this, but I figured that there has to be some kind of RecyclerView, TabLayout or some other implementation that would make it possible to do this and would include also transitions/sliding effects between pictures. I just need someone to point me in the right direction.
Could you please help me by posting your ideas? It would help a lot, and I do not need any specific code parts, I will do my research later on based on your ideas. Thank you a lot!
This is the official guide on creating sliding screens using Viewpager. This should help you get started : Using Viewpager for Screen Slides
There is a project in github that does exactly that - it's called "TinderStack", and you can find it at https://github.com/lawloretienne/TinderStack
I want to create single activity having swipable image slider and swipable tabs. But i dont have an idea how to create this. I tried ViewPager is used for full screen swipe to get next full screen. Can any body tell me how to do that.
See image which demonstrates my need. Thanks in advance :)
I'm not sure I understand the question exactly, but I think there is an official Android sample that does exactly that:
https://github.com/googlesamples/android-SlidingTabsColors/
This is at least a reasonable starting point..
I have received a requirement make an image viewer with the listview at bottom like this video https://www.youtube.com/watch?v=aC4OFRxk988 but I don't know the name of that controller to research. Please help me. Thanks
I think viewpager and listview.
and dynamic scale image view are setmatrix.
simply reply. i can't add comment at your post....
if want more hint reply me.
https://github.com/ksoichiro/Android-ObservableScrollView
You can find here some custom implementations.
Test the demo app from the play store and check which one has the closest functionality to the one you desire. Then take a deep breath and try to understand how it's done.
I have bunch of images.i want show all images one by one through swipe left or right.Can any one help me.
Then you can use page curl effects for images.
You can turn right or left. Hope this might helps you.
http://code.google.com/p/android-page-curl/
Use ViewPagerIndicator.It works well for your requirement.
The best example is there.Jake Wharton's View Pager indicator.
https://github.com/JakeWharton/Android-ViewPagerIndicator
For apis < 16 you can use the Gallery widgvet (http://developer.android.com/reference/android/widget/Gallery.html)
Another solution is to use a Viewpager, please check this post: Gallery of images using ViewPager + zoom in ImageViews
I want to create a UI similar to the images shown in the links given below.
http://www.4shared.com/photo/EU1KsEPC/device1.html
http://www.4shared.com/photo/tcQMx75T/device2.html
The requirement is, when I swipe to the right, it should go to the 2nd, 3rd pages and so on. And swiping to the left should go to the previous page.
How can I create such a UI? What layout should I use?
Any help in this regard would be well appreciated with points.
Best Regards,
Rony
I think you should look into a GridView.
http://developer.android.com/guide/tutorials/views/hello-gridview.html
http://developer.android.com/resources/tutorials/views/index.html
Perhaps your looking for this answer?
Implementing Swipe action on ViewFlipper with multiple GridViews