I am developing app for phone.While creating layout design.I put the size of the image from dimens in value folder.My issue is design is perfect in s3 and moto-g but not in samsung neo note 3 all the three of them are taking values from xhdpi.Is there any way to giving separate dimens value for Samsung Note 3?
Asked
Active
Viewed 193 times
1 Answers
0
Probably your problem isn't in the dimens folder.
Your problem is in layout definition. Try to use relative layout to optimize the layout ratio.
You can see here how to use it.

João Marcos
- 3,872
- 1
- 19
- 14
-
My issue is I am giving values from dimens for "layout_marginTop".Values given for moto g and s3 is correct.Since density of Samsung note 3 is higher than other two.Its need higher value for margintop.So is it possible to create separate values folder for Samsung note 3 – androidbeatz Mar 24 '15 at 18:35
-
And you use relative layout? – João Marcos Mar 25 '15 at 09:45
-
check this link: http://stackoverflow.com/questions/16706076/font-size-and-images-for-different-device – João Marcos Mar 25 '15 at 09:58
-
you try this solution? it helps u? – João Marcos Mar 25 '15 at 15:00
-
you try this solution? it helps u? – João Marcos Apr 09 '15 at 10:42
-
-Thanks ,I optimized RelativeLayout which fixed my issue. – androidbeatz Apr 16 '15 at 06:55