Android Guides | Samples

Android.Graphics.Drawables.Drawable.MinimumWidth Property

Returns the minimum width suggested by this Drawable.

Syntax

[get: Android.Runtime.Register("getMinimumWidth", "()I", "GetGetMinimumWidthHandler")]
public virtual Int32 MinimumWidth { get; }

Remarks

Returns the minimum width suggested by this Drawable. If a View uses this Drawable as a background, it is suggested that the View use at least this value for its width. (There will be some scenarios where this will not be possible.) This value should INCLUDE any padding.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1