ondraw
Opengl-es onTouchEvents problem or a draw problem? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-22 05:08 分类:问答How to update Android Views upon modifications?
I have some methods in my View that modify some of the shapes that are drawn when called. In Java in order to make sure the component is updated I would call repaint(). Is there something that will ma[详细]
2023-03-22 01:13 分类:问答Where to set bounds of a drawable in a custom view
Overview: I`m trying to create some simple shapes (squares and triangles) and then use them as the background image for an activity. The sizes of the shapes depend on the width and height of the scree[详细]
2023-03-22 00:16 分类:问答View in Android taking the whole screen- how to tell the canvas to respect the limits of the view?
EDIT: OK, so I\'ve extended the lenght and the width of the view to a big part of the screen I can assume that the onDraw() method is NOT TAKING the limits of the view, because it goes through all th[详细]
2023-03-20 07:49 分类:问答Android - Set focus on a circle that I have drawn in my onDraw method
Android Question. I have made a custom ImageView class and inside it I have an onDraw method which will draw a circle on particular pixels (using canvas). When I use this custom imageview and open up[详细]
2023-03-19 23:25 分类:问答Android : TextView onDraw() only once?
I\'m creating a custom TextView by using T开发者_开发知识库extPaint in the onDraw() method. however this is causing severe problems for my app.[详细]
2023-03-16 21:33 分类:问答Android SurfaceView onDraw Question
My SurfaceView\'s onDraw method draw\'s a LinkedList of paths determined by TouchEvents on the screen.I want add an undo feature that removes the last path node from the LinkedList. When the button is[详细]
2023-03-14 16:59 分类:问答Android Surfaceview and different resolutions problem
I have encountered a weird problem and I can\'t manage a way to solve it. Scenario I have a Surfaceview on which I draw some images on different positions. First I created folders for l/m/hdip draw[详细]
2023-03-11 23:29 分类:问答Android onDraw() method and adding images
I have a view where i have overriden the onDraw() function for animation purposes. However there are some images i would to like to be static in the view do i have to draw these images in the onDraw()[详细]
2023-03-11 18:55 分类:问答Draw rectangles with space between them in Android
I want to开发者_JS百科 draw five rectangle bars in Android. I have the regtangles, but now I want them to be a bit spaced apart.[详细]
2023-03-10 15:55 分类:问答