• Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrolling and drawing at the same time

 
Swastik Dey
Rancher
Posts: 1723
8
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!