Wednesday, July 28, 2010

[android-developers] Create Screen Size Independent Android Applications

Hi,

I am working on android 2.2, I developed an application which is
having an Image View and a button view.
In HVGA both the image and button are visible, but in QVGA I could see
only the image. Rest of the buttons that are present under the image
view is not visible.

How do I manage multi-screen resolutions in Android ?
Is there any thing like maintaining Aspect Ratio of the image to
adjust the size as well maintain clarity.

I tried placing the buttons above the image view and it worked
properly for HVGA and QVGA.
Please let me know how can I handle the situation by placing the
buttons below the image view.

I have done it in relative layout

Image width and height is fill_parent and wrap_content
Button width and height is wrap_content and wrap_content.

Thnks,
Nive

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