1

ARGB_8888 bitmap is not visible, while the RGB_565 is

view story
linux-howto

http://stackoverflow.com – I face some trouble with creation of my bitmap for a custom analog clock widget. When i use RGB_565 configuration the image is displaying properly, but it has no transparent background. When i'm changing the configuration to ARGB_8888, my image is not displaying at all. static void updateTime(Context context) { int iW = 400, iH = 400; RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.clock22analog); Bitmap bitmap = Bitmap.createBitmap(iW, iH, Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(bitmap); Paint paint = new Paint(); pa (HowTos)