I wonder for one example develop with ONLY, the new technique for selector 
Android 3.2 + (
http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts
):

extract: 

320dp: a typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800 hdpi, etc).
480dp: a tweener tablet like the Streak (480x800 mdpi).
600dp: a 7” tablet (600x1024 mdpi).
720dp: a 10” tablet (720x1280 mdpi, 800x1280 mdpi, etc).

res/layout-sw320dp/main_activity.xml # For handsets (smaller than 600dp 
available width)
res/layout-sw600dp/main_activity.xml # For 7” tablets (600dp wide and bigger)
res/layout-sw720dp/main_activity.xml # For 10” tablets (720dp wide and bigger)


Android 3.2 and greater, see Declaring Tablet Layouts for Android 3.2 for 
more information. *My question is. How do we make diferent layout for small 
vs normal vs large screens in the new technique?.*

Consider:

large screens are at least 640dp x 480dp
normal screens are at least 470dp x 320dp
small screens are at least 426dp x 320dp

-Thanx-


El lunes, 10 de septiembre de 2012 02:14:15 UTC+2, Dianne Hackborn escribió:
>
> On Fri, Sep 7, 2012 at 8:13 AM, Javier Garcia Crespo 
> <[email protected]<javascript:>
> > wrote:
>
>> Yes new devices with android 3.2 upper. Hvga wvga no way to select 
>> diferent layout with new technique. Poor. I have to make a test mixing 
>> horenration and dps selector .h240-por or h320-land
>>
>
> What are you trying to say?  The new resource selector lets you cover the 
> features of the old size buckets, and also does lots lots more.
>  
> -- 
> Dianne Hackborn
> Android framework engineer
> [email protected] <javascript:>
>
> Note: please don't send private questions to me, as I don't have time to 
> provide private support, and so won't reply to such e-mails.  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 [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