共用方式為


DisplayMetrics.Density140 Field

Definition

Caution

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

Intermediate density for screens that sit between #DENSITY_LOW (120dpi) and #DENSITY_MEDIUM (160dpi).

[Android.Runtime.Register("DENSITY_140", ApiSince=29)]
[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 Density140 = 140;
[<Android.Runtime.Register("DENSITY_140", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Util.DisplayMetricsDensity enum directly instead of this field.", true)>]
val mutable Density140 : Android.Util.DisplayMetricsDensity

Field Value

Value = 140
Attributes

Remarks

Intermediate density for screens that sit between #DENSITY_LOW (120dpi) and #DENSITY_MEDIUM (160dpi). This is not a density that applications should target, instead relying on the system to scale their #DENSITY_MEDIUM assets for them.

Java documentation for android.util.DisplayMetrics.DENSITY_140.

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