Share via


TypedValue.Density Property

Definition

If the Value came from a resource, this holds the corresponding pixel density.

[Android.Runtime.Register("density")]
public int Density { get; set; }
[<Android.Runtime.Register("density")>]
member this.Density : int with get, set

Property Value

Attributes

Remarks

If the Value came from a resource, this holds the corresponding pixel density.

Java documentation for android.util.TypedValue.density.

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