Hi All, I have an image which I have in form of a stream. I want to create a drawable from this stream so that I can set it as background for my view or ImageView which occupies the whole device screen. I did the below code to achieve the same but facing some issues
Drawable.createFromResourceStream(getResources(),val, stream, null); Where val is a typedValue whose density is set to densitydpi retrieved from DisplayMetrics. The issue is when I do the above, the image is not filling/covering the whole area i.e. its not probably getting rescaled to xhdpi. I am trying this with WVGAA800 and a density of 240dpi emulator. I am using android 2.2 to build the application. Any help will be greatly appreciated. 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 [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

