Hi
I need to implement a photo library with 2 screens. one with image thumbnails, when we click on any one of the thumbnail, need to display the 2nd screen with full image that fits into the entire screen, need to have "Prev", "Next", "back to gallary" links.
I can implement the 1st screen using GridView, can anybody help me how to develop the 2nd screen with slideshow.
Thanks in advance
Nehatha
Related
I'm new at developing app and I'm trying to do my first app on Android Studio.
I have a problem: I would like that my horizontal scroll targets immediatly the next image (I will leave the photo)This is the first image that we see
After that photo, there is another one: Second Image
You can see that it shows both image 1 and image 2 together and I would like that it shows just 1 image at a time.
Tell me if the question is clear and if you need more information. Thanks
You Can Set One Image At a Time After Time Click The Second Image Is Popup Using The Image Slider
For Image Slider You Use With ViewPager
I am very much new this issue.I want to make application like this.look at the image below,This is a brief summary of my requirement.
ok so top there is a image view.After user capture image from camera in OnActivityResult I am displaying captured image on main image view. Below that image view there is a HorzontalScrollView, Inside HorzontalScrollView i have put couple of images,like hat,spects etc...
ok so What i want is, user should be able to drag any image from HorzontalScrollView and can be able to put that small image on main image view.
Any guide/tutorial will be appreciated from guys who have worked on such functionality
Thanks
I have a gallery that consist of small size of pictures and when I click any of them a gallery comes to screen with bigger images of those small pictures. And for example I clicked the 3. picture of gallery, in the second screen I want to see the 3. picture first but when I scroll it left or right I want to see other pictures. How can I do this?
pass that selected int to next screen and then do this:
galleryView.setSelection(3); //3 or whatever you send your position from previous screen
Remember do this, after setting the Adapter to Gallery.
I have an array which includes URL address of for example 20 images. When user clicks on a button i need to show image in full screen mode and if user touched the screen and his finger points to right or left then show next or previous image (something like loading image from gallery and navigating to right or left).
Is it possible to do it with intents? Thank you.
Yes you can do it, find out the Gallery example in Android Universal Image loader.
I have followed the android gallery tutorial to build a simple gallery which is exactly the same as the tutorial's.
Now, I would like to improve the gallery from the tutorial to show only one image at one time(in the tutorial, several images are showing at once), that's only show one image which occupy the whole gallery area.
Then, only finger touch and move the current image to left or right will make the neighboring next(left or right) image to be shown.
How should I modify the tutorial's code? any suggestions?
You could make the Image the same size as the screen:
i.setLayoutParams(new Gallery.LayoutParams(Gallery.LayoutParams.FILL_PARENT, Gallery.LayoutParams.FILL_PARENT));
i.setScaleType(ImageView.ScaleType.FIT_XY);
This thread might be useful
Android GalleryView Problem