Hirak Chhatbar
Hirak Chhatbar

Reputation: 3181

Different screen size issues

In my app, so far I have used these layout folders

layout-ldpi
layout-mdpi
layout-hdpi
layout-large-hdpi
layout-large-mdpi
layout-xhdpi
layout-xxhdpi
layout-xxxhdpi

Still, I am getting complaints about UI in some phones like Samsung Gaxay Grand 2 (280 ppi, 5.25" , 720 x 1280 pixels).

It is impossible to test app in every devices. So what are the common hardware profiles that I should set in my AVD so that most of the phones are covered up??

Upvotes: 2

Views: 186

Answers (3)

Lennon Spirlandelli
Lennon Spirlandelli

Reputation: 3193

Try to use

layout-long
layout-notlong

instead of

layout-ldpi
layout-mdpi
layout-hdpi
layout-large-hdpi
layout-large-mdpi
layout-xhdpi
layout-xxhdpi
layout-xxxhdpi

Upvotes: 0

Yuva Raj
Yuva Raj

Reputation: 3

Did you try adding few more drawable folder like

layout-xlarge-hdpi
layout-xlarge-xhdpi

We are using this for few devices and it works. Could not able to test it in galaxy grand 2.

Upvotes: 0

anil
anil

Reputation: 2123

There are a few known issues in Samsung phones. See this questions:

  1. one
  2. two
  3. three

Upvotes: 1

Related Questions