Thursday, February 9, 2012

[Android] Get the overall layout of the screen

Use the Configuration.class to get the overall layout of the screen,this is different from using "DisplayMetrics.class" to get the density of the screen.