共用方式為


DisplayMetrics.Density340 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 somewhere between #DENSITY_XHIGH (320 dpi) and #DENSITY_XXHIGH (480 dpi).

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

Field Value

Value = 340
Attributes

Remarks

Intermediate density for screens that sit somewhere between #DENSITY_XHIGH (320 dpi) and #DENSITY_XXHIGH (480 dpi). This is not a density that applications should target, instead relying on the system to scale their #DENSITY_XXHIGH assets for them.

Java documentation for android.util.DisplayMetrics.DENSITY_340.

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