[android-developers] Merge bitmaps

2011-04-06 Thread Krzysztof Majkowski
I want to merge and show two bitmaps few times per second ( I'm using orientation sensor and need to display in ImageView two parts of one big bitmap ). Bitmap b = BitmapFactory.decodeFile( url ); Bitmap all = Bitmap.createBitmap( xScreen, yScreen, Config.ARGB_ ); Canvas c = new Canvas( all

Re: [android-developers] Merge bitmaps

2011-04-06 Thread Kostya Vasilyev
Um, draw the two bitmaps one by one, applying any transformation as necessary? View rendering is double buffered, so you won't have flicker. You'd need a view subclass for this, overriding onDraw. 06.04.2011 22:53 пользователь Krzysztof Majkowski kmajkow...@gmail.com написал: I want to merge and