ondraw
Custom view's drawable area covers other fields
I have a custom view that is sort of a vertical progress bar.It\'s just a custom view, drawing onto the canvas to fill from bottom to top with the percent complete.In my xml, I have text above, and te[详细]
2023-02-20 10:49 分类:问答(Android) Draw image outside the view class (canvas access?)
I\'d like to make a Library containing an override class of View(eg: MyView extends View) and want to make a method \"Draw(String FileName)\".[详细]
2023-02-14 21:45 分类:问答Calculate path between two points on the screen in Android
Problem seemed very simple to me at first but now I am stuck. Scenario I want to move a image on the screen, on a certain path I create. Moving this image is being made on a thread, something like:[详细]
2023-02-14 11:44 分类:问答onDraw fill shape create with canvas.drawLine
i draw 4 lines (canvas.drawLine) in order to draw a rectangle. Is there any possibility to fill the area of the rectangle? (I know that android have a rectDraw. Mine is only curiosity)[详细]
2023-02-08 17:05 分类:问答Drawing onClick in Android
I am trying to make a program the makes a graph using user input values from 2 EditText Fields. The program should use this input to draw a line from the center of an axis to a point specified by the[详细]
2023-02-06 17:09 分类:问答View's onDraw method get called again and again on Android 2.2
I am new on Android development and meet with a tough problem when trying to implement a graphic drawing on a View.[详细]
2023-02-02 10:19 分类:问答Android custom view Bitmap memory leak
I\'ve got a custom view in which I need to draw two bitmaps, one is a background, representing the image of a map and one is a pin which will be drawn on top/left position in canvas.[详细]
2023-01-25 04:16 分类:问答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 分类:问答Android: draw on a view inside an inflated xml (another view)
I have a small xml file called \'xmlview.xml\' which is something like: <tablelayout> <tablerow>[详细]
2023-01-21 19:48 分类:问答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 分类:问答