DisplayMetrics.Xdpi Property

Definition

The exact physical pixels per inch of the screen in the X dimension.

[Android.Runtime.Register("xdpi")]
public float Xdpi { get; set; }
[<Android.Runtime.Register("xdpi")>]
member this.Xdpi : single with get, set

Property Value

Single
Attributes

Remarks

Java documentation for android.util.DisplayMetrics.xdpi.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to