how can get image from gallery and set this image on another image and edit this image for fix this on frist image??
(Sorry for my weak english language)
if you only want to display two overlapped images in UI try to use FrameLayout
how to overlap two images each other
but if you really want to combine those images you can do that through 'Canvas' class
How to combine multiple images into a single image in android?
http://www.jondev.net/articles/Combining_2_Images_in_Android_using_Canvas
Related
Here is an example of what I need to do:
First of all I convert the image into bitmap and then set it as background to a relative layout. And i know these four coordinates.
Then how can I get the image inside the box and set it to another layout as background?
Try to use Picasso when you are dealing with Images.
This is the link
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.
Hi I am making a hangman, and I need to show image after image each time the player fails an attempt eg head first, then the body ect. I'm doing a layerdrawable but not how to scale it to the original image, how climb as I show the image and the images layer by layer to create the hangman?
I'd think the simplest way would be to decide what size your image is going to be. Then just use several PNG images with one body-part drawn on them and a clear background. As long as the images are all exactly over one another, you should see the familiar image of a stick figure drawn one part at a time.
Hope this helps.
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.
I don't know how to get the images what are available on the scree. I'm using imageview for the purpose of display the images on the screen.
Images will be changed randomly because i stored the images into array and images are in drawable. I want to know which image is displays on the screen at runtime.
thank u
When you change the image in the ImageView, hold onto the array index that you used in another variable.