Partager via


DisplayMetrics.DensityDeviceStable Property

Definition

The device's stable density.

[Android.Runtime.Register("DENSITY_DEVICE_STABLE", ApiSince=24)]
public static int DensityDeviceStable { get; }
[<Android.Runtime.Register("DENSITY_DEVICE_STABLE", ApiSince=24)>]
static member DensityDeviceStable : int

Property Value

Attributes

Remarks

The device's stable density.

This value is constant at run time and may not reflect the current display density. To obtain the current density for a specific display, use #densityDpi.

Java documentation for android.util.DisplayMetrics.DENSITY_DEVICE_STABLE.

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