Seems simple enough. The original poster has a LinearLayout, and he wants to set the background of said layout to be an image.
Which you can do, using LinearLayout.setBackgroundDrawable() So he can just the image to be the drawable. He then wants to change the colour of the image. That is also possible, depending on the image itself, and whether has a bitmap with transparent areas through which the colour should show, or actually wants to change overall the colour of the bitmap. Just simple image processing, the when the image is how he wants it, call setBackgroundDrawable() with the new bitmap. On Sunday, March 25, 2012 9:47:15 AM UTC+8, Todd wrote: > > Yes. > > You are the only one confused by this question. > > the answer is, it can't be done. > On Mar 24, 2012 1:44 PM, "Justin Anderson" <[email protected]> wrote: > >> Am I the only one confused by this question? >> >> Thanks, >> Justin Anderson >> MagouyaWare Developer >> http://sites.google.com/site/magouyaware<http://sites.google.com/site/magouyaware> >> >> >> On Sat, Mar 24, 2012 at 1:45 PM, Android Developer < >> [email protected]> wrote: >> >>> Hi, >>> >>> I have LinearLayout i want to set Image as background and i need to >>> change the image color. >>> >>> I mean image remains transparent and it should reflect whatever >>> background color we choose. >>> >>> I dont know how to start with any example is helpful. >>> >>> >>> Thanks in Advance. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to >>> android-developers@googlegroups.com<[email protected]> >>> To unsubscribe from this group, send email to >>> android-developers+[email protected]<android-developers%[email protected]> >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to >> android-developers@googlegroups.com<[email protected]> >> To unsubscribe from this group, send email to >> android-developers+[email protected]<android-developers%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

