I\'ve developed an app that was supposed to target both the Galaxy Nexus and the Galaxy S3. Both have 720 x 1280 screen resolutions and I have only used \'dp\' values in my
You can get the device model and can set layout.
As following you can get model
String phoneModel = android.os.Build.MODEL; if(phoneModel.equals("ABC")) { // SET Ralated Layout } else if(phoneModel.equals("XYZ")) { // SET Ralated Layout }