[android-developers] Canvas scroll

2010-09-07 Thread wolphi
I have a 100x100 rectangular on my canvas. I would like to move (scroll) this rectangular 1 row up and fill up the last row with new pixels. In other words I would like to copy the area from rect(0,1,100,100) to rect(0,0,100,99) and then draw a new pixles in line 100. I searched for copy canvas o

[android-developers] canvas scroll

2009-05-18 Thread Maulin
I am writing a solitaire app. I use a canvas to draw everything on the screen. Sometimes a pile of cards will get big and extend below the bottom of the screen. I would like to make the canvas scrollable so the user can access those cards. Main Activity. Java: package com.maulinpathare.solitaire