I use your library and set up/show view works fine. But i need to save the views as list of bitmaps like:
Bitmap b1 = Bitmap.createBitmap(v.getWidth(), v.getHeight(), Bitmap.Config.ARGB_8888);
Canvas c = new Canvas(b1);
v.layout(v.getLeft(), v.getTop(), v.getRight(), v.getBottom());
v.draw(c);
bitmapFromView.add(b1);
All works, i checked the list in debug.
Then i use getPixels(..) on each bitmap. When i've a colorful background, tables are valid, but when i set a transparent background, transparent pixels have a strange negative value (like -570425344). Did you use a specific transparency encoding ? Or have you any idea ?
Hi !
I use your library and set up/show view works fine. But i need to save the views as list of bitmaps like:
All works, i checked the list in debug.
Then i use getPixels(..) on each bitmap. When i've a colorful background, tables are valid, but when i set a transparent background, transparent pixels have a strange negative value (like -570425344). Did you use a specific transparency encoding ? Or have you any idea ?
Thx !