Android Guides | Samples

Android.Graphics.Drawables.ShapeDrawable.SetIntrinsicWidth Method

Sets the intrinsic (default) width for this shape.

Syntax

[Android.Runtime.Register("setIntrinsicWidth", "(I)V", "GetSetIntrinsicWidth_IHandler")]
public virtual Void SetIntrinsicWidth (Int32 width)

Parameters

width
the intrinsic width (in pixels)

Remarks

Sets the intrinsic (default) width for this shape.

[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