Need help with Android dev screen sizes (Android Studio)

Acid0

Executive Member
Joined
Feb 10, 2009
Messages
5,889
Reaction score
2,734
Location
Johannesburg
Hi I need some advice/help

I am designing a app for educational purposes, but battling with different screen sizes.

I am using Android studio to create the screen layouts.

What I did so far works well up and until a point.


I have tried to use constraint layout / Linear layout and relative layout but all have the same issues.
I create my main layout as normal, and then I create new layout resource files with the same activity name but with different densities.

But for some odd reason some of my test phones picks up the certain density layout but is completely out of proportion, even though it looks correct on the layout on the IDE but the minute it is ported to the phone its out.

What would be the best way to create layouts that can cater for all layouts?

Regards
 
Top
Sign up to the MyBroadband newsletter
X