user523046
user523046

Reputation: 151

Running android application on all screen sizes

My android application is running good on emulators form 1.5v to 2.2v

when I installed .apk file on SAMSUNG GALAXY-3 v2.1 screen sizes are not matching.But the same .apk file supporting the UI on SAMSUNG v1.5

I want to run my application on any screen sizes.

Upvotes: 1

Views: 954

Answers (2)

R3D3vil
R3D3vil

Reputation: 681

I can understand your frustration, i had the same problem recently.

You need to add the following lines to your AndroidManifest.xml file: supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"

This makes ur app work on devices with any screen size. (FYI : supports-screens is a tag in the file, i have written it without tags because it cant be displayed here with tags)

Upvotes: 1

Labeeb Panampullan
Labeeb Panampullan

Reputation: 34833

You need to create different layout folder for Supporting Multiple Screens

layout-small
layout-normal
layout-large

it better to refer http://developer.android.com/guide/practices/screens_support.html

Upvotes: 0

Related Questions