multiple screen support in android
http://developer.android.com/guide/practices/screens_support.html
You have to add different folder for different layout in res folder --> hdpi,mdpi,ldpi and for large screens you xhdpi(for Tablet) and large-hdpi or xlarge (for NXzoom). Also set Images and text size different in different layout as per screensize...
issue in layout related to multiple screen support
The X-treme 7" Internet tablet has a resolution of 800x480. With a 7" screen, that puts the pixels per inch somewhere around 80, which falls into very low end of the ldpi scale (which is <=120ppi. To convert a resolution of 800x480 to a density independent pixel (dp) screen size, we must multiply by ldpi's scaling of 0.75, which gives us a resolution of 600dp x 360 dp.
As per the range of screen supported guide, a large
screen must be at least 640dp x 480dp, therefore your X-treme 7" Internet tablet should be classified as a normal
screen device, hence why it is not picking up your layout-large
layouts.
You can use any number of the many apps on Google Play to confirm your tablet's screen density and what resources it should be loading.
Android Multiple Screen Support Problem
I used drawable folder all images then get the all images. I used this all layout in Relative layout rather than linear, and Make the all it properties. I skip the margin , below and above properties. First on alignparentcenter
is true, then below or above the that centered image. Its work fine then the above my layout.
Problem in Supporting Multiple Screens in Android?
You should get width and height of device on run time
Display display = getWindowManager().getDefaultDisplay();
screenWidth = display.getWidth();
screenHeight = display.getHeight();
And the make your layout accordingly
If you can code your layout programatically instead of using xml
It'd be best practice
Related Topics
How to Make a Phone Call from HTML on Android
Android: Creating Custom Preference
How to Create Text File and Insert Data to That File on Android
Android Emulator Not Able to Access the Internet
Locationsettingsrequest Dialog to Enable Gps - Onactivityresult() Skipped
How to Pass Drawable Between Activities
How to Get the APK of an Installed App Without Root Access
How to Interface with the Badgeprovider on Samsung Phones to Add a Count to the App Icon
Deleting Android Sms Programmatically
Can't Get Write_Settings Permission
Html: Why Does Android Browser Show "Go" Instead of "Next" in Keyboard
Getrunningtasks Doesn't Work in Android L
Sqliteopenhelper Problem with Fully Qualified Db Path Name
Running the New Intel Emulator for Android
Android Dex Gives a Bufferoverflowexception When Building
Searchview in Listview Having a Custom Adapter
How to Create Standard Borderless Buttons (Like in the Design Guideline Mentioned)
How to Create Empty Constructor for Data Class in Kotlin Android