Share via


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

Attributes

Remarks

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

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