Merge two images in Android (background of the 1st image and text of the 2nd image with blur effect)


I have two images? How can I show 2nd image on the top of 1st image in android(background of 2nd image must be visible and text of first image should be blur)

In other words, I want to use background of first image and text of 2nd image with blur effect

I have also attached two sample images I am using Android Studio 1.3.2

Use a FrameLayout for the container. Now, put both ImageView inside this FrameLayout and adjust its alpha value. So, your layout structure will look like this

FrameLayout (Container)
|__ImageView1 (Background)
|__ImageView2 (Text)

For the blur effect, you could use any Android image processing libraries out there in the internet.