I have developed an app and tested it in an android phone which has a resolution of 480*640, it was just fine. Now I installed that app on samsung galaxy tab 3, now everything is looking too small, how do I make the layout to fit in the device of any resolution?
In the same application, in one of the xml file, I am hard-coding the layout margin as android:layout_marginLeft="5dp"
, how do I avoid hard-coding?
Thank you for any help..