Partager via


DisplayMetrics.DensityDefault Field

Definition

Caution

This constant will be removed in the future version. Use Android.Util.DisplayMetricsDensity enum directly instead of this field.

The reference density used throughout the system.

[Android.Runtime.Register("DENSITY_DEFAULT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Util.DisplayMetricsDensity enum directly instead of this field.", true)]
public const Android.Util.DisplayMetricsDensity DensityDefault = 160;
[<Android.Runtime.Register("DENSITY_DEFAULT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Util.DisplayMetricsDensity enum directly instead of this field.", true)>]
val mutable DensityDefault : Android.Util.DisplayMetricsDensity

Field Value

Value = 160
Attributes

Remarks

The reference density used throughout the system.

Java documentation for android.util.DisplayMetrics.DENSITY_DEFAULT.

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