Hi i want to display the images one by one that means first i am displaying the some (5) images in a single row.when i am track that view next pair is coming.and when i click on particular image that image will be dispayed as big image in layout which is above of this single row layout.For this which layout are useful that means grid view like that.Give me some suggestions.Thanks in advance
Gallery View is your best bet. Just google for its examples.
Related
This is a diagram of what I am trying to code
basically I want to take an image from an imageview in the main activity frame and insert it into a gridspot in an empty gridview. I do not want these images to be draggable among each other once they are already placed into the gridview. all the tutorials online already have images set into the gridview.
I am trying to pick images from the gallery in my android application and I want to place them above each other,
but the problem is that I want to use only a single image view.
Does anyone know the code for that?
Thanks for your help.
In my apps i want to display images and text in three ways
ListView
GridView
FullScreen
i have 500+ images and text that i parse using JSON and store into SQLite.
I know how to create ListView & GridView but problem is I don't know how to create the custom layout.
I have image but due to my low reputation i am not able to post image.
I try to explain what i need.
I need custom fullscreen layout that has 2 buttons, one on the left and other on the right and between those 2 buttons I need Imageview that display the fullscreen image.
thanks in advance
Use UniversalImageLoader library, as it has all the modes you need. It also supports caching and lazy load, which you will definitely need on 500 images.
In my app,i have a listview with image and text.when the user clicks in the listview,the image in that row will change.the problem is when user scrolls the listview.the changed image is not showing.but later it is appearing...please provide me a solution or code to avoid this.
thanks in advance..
What's the size of the images that are used for each item in the listview.
When scrolling the image needs to be redrawn and if the images are of a larger size it can take time to redraw.
Make sure the images are only as big as they need to be for the item
I have a gallery that I use to display some ImageViews. I'd like to know which image in the gallery is currently highlighted/focused.
So far, setOnItemClickListener only fires if I actually click on the images. If I scroll through the images, a new image takes focus. I want to know which image that is.
How can I do this?
Get the images number in the list
Get the image (view) it self