Posts Tagged ‘ DisplayMetrics ’

Different layouts for different screen sizes in Android

June 29, 2012
By
Different layouts for different screen sizes in Android

Android ( Version less than 3.2 or API Level less than 13 )  classifies the screen sizes into four different groups such as small, normal, large and extra large. The resolutions of small, normal, large and extra large are at least 426 x 320 , 470 x 320 ,  640 x 480 and 960...

Read more »

Getting Screen properties in an Android application

June 28, 2012
By
Screen Properties

In this article, we will create an Android application which will show the screen’s display properties like screen width, screen height and density. 1. Create an Android project namely “ScreenDemo” 2. Select Android build target 3. Enter application details 4. res/layout/main.xml 5. src/in/wptrafficanalyzer/screendemo/MainActivity.java 6. Application in execution 7. Download 8. Reference http://developer.android.com/guide/index.html How to...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner