Sdílet prostřednictvím


DisplayMetricsDensity Enum

Definition

Enumerates values returned by several types.

public enum DisplayMetricsDensity
type DisplayMetricsDensity = 
Inheritance
DisplayMetricsDensity

Fields

Name Value Description
Low 120

Standard quantized DPI for low-density screens.

D140 140
Default 160

The reference density used throughout the system.

Medium 160

Standard quantized DPI for medium-density screens.

D180 180
D200 200
Tv 213
D220 220
High 240

Standard quantized DPI for high-density screens.

D260 260
D280 280
D300 300
Xhigh 320

Standard quantized DPI for extra-high-density screens.

D340 340
D360 360
D400 400
D420 420
D440 440
D450 450
Xxhigh 480

Standard quantized DPI for extra-extra-high-density screens.

D520 520
D560 560
D600 600
Xxxhigh 640

Standard quantized DPI for extra-extra-extra-high-density screens.

Remarks

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