Set the density scale at which this drawable will be rendered.
Syntax
[Android.Runtime.Register("setTargetDensity", "(Landroid/util/DisplayMetrics;)V", "GetSetTargetDensity_Landroid_util_DisplayMetrics_Handler")]
public virtual
void SetTargetDensity (
Android.Util.DisplayMetrics metrics)
See Also
Parameters
- metrics
- The DisplayMetrics indicating the density scale for this drawable.
Remarks
Requirements
Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 4