Thursday, July 21, 2011

[android-developers] Re: What layout the normal 2.3 WVGA 800x480 emulator use?

You mention creating the files... did you put them in their respective directories? The directories that house your drawables have to be named specifically. e.g. drawable-hdpi, drawable-mdpi, etc... Also your xml layout files can be named anything.

My understanding is this... the system will determine which drawables to use by using the screen resolution and then using the appropriate drawables defined by the directory they are located in. Your layout will usually stay the same, thus you should use dip/dp so that your layout scales properly.

--
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

No comments:

Post a Comment