Monday, June 27, 2011

Re: [android-developers] view.draw on scrollview not working as expected

You first need to translate the Canvas by -getScrollX() and -getScrollY().

On Mon, Jun 27, 2011 at 4:34 PM, rukiman <rukshanf@optushome.com.au> wrote:
> Why is it that if I do a view.draw(mycanvas) on scrollview it draws
> everything as if the user had not scrolled? It seems to ignore the
> scrollY position of scrollview.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

--
Romain Guy
Android framework engineer
romainguy@android.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate