[android-developers] Re: Should i resize the bitmap before adding to a ImageView or let the ImageView resize the Bitmap?

2011-09-02 Thread skink
Benjamin wrote: Hello friends, i have a simple question: Should i resize a bigger bitmap before adding to a ImageView or let the ImageView resize the Bitmap? What's the right way, regarding performance? Thanks AFAIK ImageView doesnt resize your Bitmap - it can only scale its Canvas

[android-developers] Re: Should i resize the bitmap before adding to a ImageView or let the ImageView resize the Bitmap?

2011-09-01 Thread Drezden
Go to the docs and look up BitmapFactory.Options. You can adjust the sample size of the Bitmap to conserve memory. Play with this and the scaling options to get the best performance. On Sep 1, 5:04 am, Benjamin benjaminru...@googlemail.com wrote: Hello friends, i have a simple question: