aspose file tools*
The moose likes Android and the fly likes Scrolling and drawing at the same time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Scrolling and drawing at the same time" Watch "Scrolling and drawing at the same time" New topic
Author

Scrolling and drawing at the same time

Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

Is it possible to draw a line and scroll on the canvas at the same time? Let me highlight my requirement bit more. onTouchEvent I am drawing lines based on the retrieved coordinates. Now what I want is if it exceeds the screen dimension a scroll bar appears and I can draw further. Is it possible to handle two events at the same time scroll and draw?


Swastik
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Scrolling and drawing at the same time