I have two bitmap lets say bitmapA and bitmapB. I want to set bitmapA as background of bitmapB
and I have to perform this on runtime.Give me some idea how can I do it.
I have two bitmap lets say bitmapA and bitmapB. I want to set bitmapA
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
setImageDrawable(Drawable d)will set you the ImagesetBackgroundDrawable(Drawable d)will set you Background in ImageView TypeAnd for converting your Bitmap to Drawable use this