• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Create Screen Size Independent Android Applications

nive

Lurker
Jul 28, 2010
1
0
Hi All,

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
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones