-1

I want to support 540x960 screen resolution in my android application. How can I support this screen? Any suggestion will be appreciated.

Rushabh Patel
  • 3,052
  • 4
  • 26
  • 58

3 Answers3

1

You don't develop to specific resolutions on Android. You write layouts which automatically scale to different sizes and aspect ratios. Make use of classes such as RelativeLayout to define how elements should be placed relative to each other, and allow them to adapt to the available space. You can also use Fragments to design for different orientations and physical sizes (e.g. tablet vs phone).

Take a look at this document: http://developer.android.com/guide/practices/screens_support.html

Glitch
  • 2,785
  • 1
  • 27
  • 50
1

put inside AndroidManifest.xml

<supports-screens android:anyDensity="true"></supports-screens>

Or take a look bellow links.

Android Multiscreen Support in android : 540x960 issue

OR

How to support all the different resolutions of android products

Community
  • 1
  • 1
bashu
  • 1,710
  • 12
  • 16
1

res/layout-long-port-hdpi-960x540/layout.xml

height shold be come first

Gopikrishna
  • 99
  • 1
  • 7