by Sukitha Udugamasooriya » Wed, 19 Aug 2009 18:07:06 GMT

Sponsored Links

I have created an application and I want to make sure it works in
different resolution.

 i have used LinearLayout and some ListViews and buttons.

I need to know will it be an issue if the apk is put to two different
phones which has different resolution.

thank u


by Mark Murphy » Wed, 19 Aug 2009 18:36:40 GMT


If the same layout looks good in portrait (320x480) and landscape
(480x320), you are well on your way.

Otherwise, right now, Android does not officially support other screen
sizes, meaning the resources for testing other screen sizes is limited.

Mark Murphy (a Commons Guy)  | 

_The Busy Coders' Guide to *Advanced* Android Development_ In Print!


Sponsored Links


by lilbyrdie » Wed, 19 Aug 2009 22:02:52 GMT

 In addition what what Mark said, you can use the emulator to test with
the QVGA skins, too (320x240 and 240x320).

Those resolutions should help quickly reveal any obvious layout



by Dianne Hackborn » Thu, 20 Aug 2009 00:41:30 GMT

 Though note that the QVGA skins are not at all representative of
environments apps will find themselves running in any time soon, since the
1.5 emulator doesn't fully implement density scaling that would typically go
along with such a screen (which would be a similar physical size to the
HVGA, so lower density).

Dianne Hackborn
Android framework engineer

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.



by Yusuf Saib (T-Mobile USA) » Thu, 20 Aug 2009 01:12:35 GMT

 FWIW, to run the emulator with different size screens, type in the
command line "emulator -skin<width>x<height>". You can go up until a
little north of 800x600 before it goes pop. #Keyboard-Control

Yusuf Saib
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



by Sukitha Udugamasooriya » Thu, 20 Aug 2009 12:58:30 GMT

 thank you all. This was really helpful.
all the best

Other Threads

1. Where exactly is /data

I found that writing to /data/dalvik-cache is surprising fast. Also,
the more files I write onto /data, the less free RAM I have left.

Does this mean /data is RAM-based file system? If so, how does the
contents of /data/dalvik-cache persist across phone reboot?



2. Ada yg mo mampir?

gyahaha lapaknya dijagain mbak jolie :))


3. The Binder header files moved: how to track them

4. setting margins causing clipping

5. TextView - disable focus

6. sreadahead.c application is not compiling with android bionic library

7. rebuilding reference-ril