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. How to set OutputStream in the MediaRecorder ?

I tried to create an application to streaming video while recording on the
But I can only save a file , can't streaming.

I think I have to set a new output stream.

How to set OutputStream in  the MediaRecorder ?

I will hope your suggestion.

Thank you.


2. With the new Froyo update, my app is being killed instead of running in the background

And while we are dreaming, I want a display of an annotated dependency
tree of services and applications, so that I the user can tell which
service is needed/used by which application. And I want the
annotations to take me to the application's website for a fuller
explanation of how and why it uses the service;)

And I want the annotations to explain why Market and My Uploads keep
getting started when I didn't ask for them!


3. With the new Froyo update, my app is being killed instead of running in the background

4. Location from cell site or from Triangulation

5. With the new Froyo update, my app is being killed instead of running in the background

6. Launch App in device start-up

7. How to remove an activity from the navigation stack (without finishing)