android-canvas
Drawing on a screen with other views in android
I have been searching for the past few hours to the answer to a very dumb question. I know how to draw on the canvas in android if you extend the view class, modify onDraw and set setContentView() to[详细]
2023-02-05 19:36 分类:问答Android: SurfaceView and Z-Level Question
I have a FrameLayout containing first a SurfaceView, and second a RelativeLayout which in turn contians various Buttons and TextViews.[详细]
2023-02-04 01:01 分类:问答How to implement a DrawLine function ?
Question : Is there any better way to implement a function that draws line on the screen other than drawing circles on the input points ?[详细]
2023-02-01 13:38 分类:问答How can I draw over the notification bar?
I need to draw a rectangle that is drawn over the notification bar, but I\'m unable to get it to work. Th开发者_StackOverflow中文版e code looks like this:[详细]
2023-02-01 01:43 分类:问答convert view into bitmap [duplicate]
This question already has answers here: Closed 10 years ago. Possible Duplicate: Converting a view to Bitmap without displaying it in Android?[详细]
2023-01-26 10:48 分类:问答Really need help figuring out why a bitmap is placed on an an image_view incorrectly
this problem has been bothering me for days and I cannot figure out why on earth it is happening.I have a method that detects for a face, if a face is detected, the method will draw a rectangle on a c[详细]
2023-01-26 08:23 分类:问答Draw From Old Canvas - Android
I\'m making an App that needs to be able to draw new graphics on top of the last set. This is my current onDraw() method -[详细]
2023-01-22 12:38 分类:问答Why is drawing bitmaps is very slow on some android 2.2 phones?
I have a simple card game where the user can drag and drop cards around the screen. On some of the 2.2 开发者_StackOverflow社区android phones like the Droid and EVO the card drawing is very slow. This[详细]
2023-01-21 06:36 分类:问答converting a canvas into bitmap image in android
I am trying to develop an app on can开发者_开发问答vas,I am drawing a bitmap on the canvas. After drawing, I am trying to convert into bitmap image.[详细]
2023-01-21 01:50 分类:问答why my invoke of Canvas.drawText() just doesn't work
Hi all: I\'m writing a class that inherit from TextView, and override its onDraw() method, but in the method, my invoke of canvas.drawText() doesn\'t seems to work, the code just like below:[详细]
2023-01-21 00:44 分类:问答