Where in this code would I put a thread delay, that will happen after the completion of onCreate(), which means also after the completion/showing of onDraw()? Afterwards I will be calling grid.clearPa
Why does on draw sometimes what pixels like: xAxis = new RectF(0, 0, 400, 400); Other times it takes float points like:
I have extended View to build a custom widget. I would like to define the height of the widget with an independ pixel unit.
I have an activity which shows a view, within the view there is a canvas which is draw, then I have an ontouch function which should allow the canvas to be dragged/zoomed. However when debugging it ap
I have a FrameLayout that contains several ImageView. On the main activity, I record the touch events in order to move my FrameLayout and the images inside with the finger (drag).
I\'m trying to draw to a Bitmap so I can put my custom view inside an imageView.The code within the onDraw method is:
i\'ve searched around and still can\'t find a good answer. I have made my own class that extends an imageView and in the onDraw() method i am using canvas to draw circles onto my image.
I facing problem to draw rectangle at subclass of my android custom view class. Each time super class onDraw method works.But subclass onDraw method never executed. Super class will draw a rectangle a
I have made my own canvas class which extends an imageView. My onDraw() method draws out the users gps position and I keep calling this onDraw method every time the user moves. My problem is I also wa
I am having problems redrawing the view in a painting app. When the touch ends, I call touch_up() to make the path, invalidate() to draw it, and storeView() to push the current view on the stack. Howe