Hi all,
We need to build support for screens larger than WVGA (480x800) and
FWVGA (480x854).  For example, let's say there is a device that
supports 1024x768.  Ideally, I would like to use Android's res folder
structure (e.g. res/layout-large) to automatically provide a different
layout for even larger screens.

Reading the documentation[1] it seems that WVGA and FWVGA would pull
from the same res folder (res/layout-large) as 1024x768.

As a result, I think we have to do this in code.  We would define a
constant and build multiple code paths that address traditional screen
sizes under one path, and 1024x768 and similar screen sizes under
another path.

Am I misreading the documentation?  Is there a way to do this that I
haven't considered?
Additionally, is there a notion of #ifdef in Android's Java, as there
is in C?

Thanks much.

[1] http://developer.android.com/guide/practices/screens_support.html

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

Reply via email to