Reputation: 6852
I want to Create a new image from two different Images .Output image must be result from overlaying one Image on other image by using drag ,zoom in/out, rotate actions.
I am new to Android how can i do that. which view i need to use surfaceview/imageview ????
Thanks for your time.
Upvotes: 0
Views: 1737
Reputation: 234795
It's not clear if you want to do this dynamically (in response to user actions) or whether you want to generate a fixed image based on specified drag/zoom/rotate parameters. For the former, you should go with a custom View, where you can do all your own drawing in onDraw()
. For the latter, you can do this with the Bitmap class. You don't need any views. Follow these steps:
Later, you can use the Bitmap in an ImageView or other view class that accepts images (e.g., TextView).
Upvotes: 1