ondraw
How can I call DataHelper from thread or paint-class with OnDraw?
Sorry about the in-concise title. I have an Android app in which I draw in a开发者_如何学编程 class that is run on a CanvasThread, to be kept away from the main GUI-thread.[详细]
2023-03-10 14:36 分类:问答How can I pass an int to my onDraw(Canvas canvas) in Android?
I use a surfaceview to draw a pie chart in Android. In order to know how big the pie slice should be I need to pass a parameter to the onDraw() method. How can I do this? Inside the onDraw() I make a[详细]
2023-03-10 14:02 分类:问答android surfaceview onDraw vs thread.onDraw
What is better for a android game to use: a SurfaceView with a rendering thread or a SurfaceView with a thread that 开发者_如何学运维calls the SurfaceView function doDraw()[详细]
2023-03-10 13:28 分类:问答EditText in onDraw()
I am aware of how to add EditText but not in the onDraw() function. public void onCreate(Bundle savedInstanceState) {[详细]
2023-03-09 19:46 分类:问答redundant onDraw() calls in FrameLayout
I have the following layout structure in my xml: <FrameLayoutxmlns:android=\"http://schemas.android.com/apk/res/android\"[详细]
2023-03-09 16:47 分类:问答Flash in an Android WebView - layering issue
I am trying to have interactive buttons in an android WebView that contains flash. As a test, I set up a HTML to load in a flash throughwith a set x/y size.[详细]
2023-02-24 12:23 分类:问答Android SurfaceView not showing onDraw
For simpleness of the question, I\'m drawing an integer on a SurfaceView which increases by 1 every draw.[详细]
2023-02-24 08:49 分类:问答Android Multiple SurfaceViews
I\'m trying to work with 3 SurfaceViews on one screen, one on top half (BoardView), one on bottom half (StatusView), and the last one as an extra layer above the top half (TileView) (see main.xml).[详细]
2023-02-24 02:22 分类:问答Create custom widgets for android
I\'m trying to create a rotating imageView. Looking at this (http://stackoverflow.com/questions/1930963/rotating-a-view-in-android) I know I\'ll have to override onDraw.[详细]
2023-02-22 13:35 分类:问答Android: SurfaceView ignoring postInvalidate()?
It\'s the first time I\'m using this so I\'m not sure whether its a bug in my code or I\'m trying to do something thats not allowed.[详细]
2023-02-20 11:05 分类:问答