다음을 통해 공유


DisplayMetrics.DensityDpi Property

Definition

The screen density expressed as dots-per-inch.

[Android.Runtime.Register("densityDpi")]
public Android.Util.DisplayMetricsDensity DensityDpi { get; set; }
[<Android.Runtime.Register("densityDpi")>]
member this.DensityDpi : Android.Util.DisplayMetricsDensity with get, set

Property Value

Attributes

Remarks

The screen density expressed as dots-per-inch. May be either #DENSITY_LOW, #DENSITY_MEDIUM, or #DENSITY_HIGH.

Java documentation for android.util.DisplayMetrics.densityDpi.

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