Can you please post the complete code. Do you want to draw the bitmap in your onCreate method?
Thank you On Jul 5, 9:13 pm, android_interest <[email protected]> wrote: > Hello, > I have following example code: > > .... > Character c = > CharacterFactory.getCharacter(CharacterEnum.SpecialCharacter); > //factory has applicationContext reference to get bitmaps from R. > ... > Paint bitmapPaint = new Paint(); > ... > > View::onDraw(Canvas canvas) > ... > canvas.drawBitmap(c.bitmap(), 0, 0, bitmapPaint); > ... > > For some reason (must be something simple) I do not see the bitmaps at > the 0,0 of the canvas. > > Inspecting the bitmap and etc does not show anything obvious (nulls), > I must have missed something... > > Is there something I should be paying particular attention to while > drawing bitmaps? -- 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

