Share via


Configuration.DensityDpi Property

Definition

The target screen density being rendered to, corresponding to density resource qualifier.

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

Property Value

Attributes

Remarks

The target screen density being rendered to, corresponding to density resource qualifier. Set to #DENSITY_DPI_UNDEFINED if no density is specified.

Java documentation for android.content.res.Configuration.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