skypower
skypower

Reputation: 159

Trouble with implementing app for different screens on Android

I am about to publish my first app and I am extremely confused about making it look nice on different screens.

At first I thought mdpi/hdpi/etc. values (dimensions) folders would suffice when I saw that the screen was showing the exact same things on S4 Mini & S6 Edge, hdpi & xxxdpi respectively.

Well, how is this even possible when I haven't specified other than the main dimensions.xml file?

From what I understand from playing with the layout editor on different devices is that screen size matters more (?).

So far I have created a mdpi/hdpi/xhdpi/xxhdpi folder but it seems that that's far from enough.

What other folders should I make? Do I need many layout folders too?

Upvotes: 0

Views: 43

Answers (1)

JustPlainGoat
JustPlainGoat

Reputation: 105

I would use this scalable size unit library. It's really easy to use and it will automatically scale your widgets for various screen sizes.

Here's the link if you are interested: https://github.com/intuit/sdp

Upvotes: 1

Related Questions