How to Align images one over another in android? - android

I want to align images one over another ie like collage. The images are from Gridview.The image should overlap one over other.plz any one help me to solve this.When clicking those images it should expand .. pls provide me some source code to solve this or provide some similar example
Thanks in advance...

Have u ever thought to use 9-patch image.On the click of the image u can just give the Patch Scale.And to overlap image over an image its better to use FrameLayout rather than The GridView.

Related

Adding more than one independent images using a single image view

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.

Clickable resizable buttons on image android

I am trying to create an application which has a map image in it.
I want to add some areas (or buttons) to it so that when you click them the bubbles with information will appear.
I am new in android programming so asking to explain a bit how to implement it?
Also i need an image to be re-sizable just like a real map.
So should i attach the buttons to specific places on image and how to do so that the buttons will be connected to it when i re-size an image?
Which image type is better to use for this purpose? I heard that SVG would be better but i couldn't even add svg image to an application.
I appreciate any helpful advice.
For your problem you can use this:
http://catchthecows.com/?p=113
I need something similar, but the click on the image should change the content of that part as well.
When I find or implement the final solution I can post it here.

Image Circulation in android

I have created a app to find the hotels, I am using a slider to show all images related to the hotel's. But I want to get the first image after the last slide in circular fashion.
Get idea through below Picture, Because I want to achieve it in same way.
Sliding SlidingSlidingSliding
All image must be in circular fashion with no end point for image in gallery while sliding.
Please have a look at the below library called InfiniteScrollView.
I think this will do exactly what you are looking for.
https://github.com/satansly/InfiniteScrollView

How to create custom Layout?

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.

Split Single Image in Four Pices

I want to Split Single Image in Four Pieces and Display it Like Single Image. How can achieve it. I split image through bitmap but it is not fixing in like one single image.
I am trying to achieve the same thing. I think this can be done by Android APIs but I would need make more research before answering on that. All I know there is a Java way to that. It might help http://kalanir.blogspot.com/2010/02/how-to-split-image-into-chunks-java.html

Categories

Resources