I provided different xml layouts
(with same name) for different screen sizes - like layout-sw320dp
, layout-sw480dp
etc.
But when I try to change some properties in the specific layout in order to adapt UI for different devices - for example layout_height, layout_width, paddingRight, topMargin and so on - it still doesn't look good.
I suppouse that's because there is a screen sizes range (4-5") and different screen sizes read from layout-sw320dp
. I tried on Galaxy S4 - 5" screen and on Galaxy S3 Mini - 4" screen. So on S4 evrything looks good but on S3 mini - doesn't - buttons are moved down, image not in the center.
What am I doing wrong?
Thank you in advance!