A structure describing general information about a display, such as its
size, density, and font scaling.
See Also:
DisplayMetrics Members
Syntax
[Android.Runtime.Register("android/util/DisplayMetrics", DoNotGenerateAcw=true)]
public class
DisplayMetrics :
Java.Lang.ObjectRemarks
A structure describing general information about a display, such as its
size, density, and font scaling.
java Example
DisplayMetrics metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);
To access the DisplayMetrics members, initialize an object like this:
[Android Documentation]
Requirements
Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1