Configuration.DensityDpi Property

Definition

The target screen density being rendered to, corresponding to <a href="[TODO: @docRoot]guide/topics/resources/providing-resources.

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

Property Value

Int32
Attributes

Remarks

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