Views themselves are not double-buffered but the window is and the
drawing cache (sort of double buffering used by animations and some
forms of scrolling) is automatically disabled when the View is too
big.

The only limits that I can think of are:
- The dimension of the View, which cannot exceed Integer.MAX_VALUE
(about 2 billion pixels, so you should be good)
- The current implementation of SGL, based on 16-bits values. This
means you may have problems if your View is larger than 32,768 pixels

On Tue, Jan 27, 2009 at 9:20 AM, adamjernst <adamjer...@gmail.com> wrote:
>
> Let's say I use a ScrollView to pan over a very large view. The large
> view draws itself dynamically in onDraw().
>
> Is there a practical limit to the size of the view? That is, are view
> contents cached or buffer-backed and can I turn that off?
> >
>



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

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to