Re: [android-developers] How to correctly organize layouts for different screen type?
On Mon, Aug 9, 2010 at 3:41 PM, Moto <medicalsounds@gmail.com> wrote:
> Currently I have only 2 layouts that need special attention.
The key word there is "currently".
> My
> questions... What is the best way to properly handle screens
> resolution/sizes/types?
http://developer.android.com/guide/practices/screens_support.html
http://www.androidguys.com/2010/02/16/handling-multiple-screen-sizes-part/
http://www.androidguys.com/2010/02/18/handling-multiple-screen-sizes-part-2/
http://www.androidguys.com/2010/02/23/handling-multiple-screen-sizes-part-3/
http://www.androidguys.com/2010/03/01/handling-multiple-screen-sizes-part-4/
http://www.androidguys.com/2010/03/02/handling-multiple-screen-sizes-part-5/
> I thought I would create the following resource folders:
> res/layout
> res/layout-800x480
> res/layout-854x480
The first directory is OK.
> Does anyone know if this is the best way to handle specific layouts
> for specific screens? Doing it by resolution size?
You really really really really really really do not want to "handle
specific layouts for specific screens". Redesign your UI to be more
fluid, and handle broad categories of screen sizes (e.g., small vs.
normal vs. large).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!
--
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