Udostępnij za pośrednictwem


ShapeDrawable.SetIntrinsicHeight(Int32) Method

Definition

Sets the intrinsic (default) height for this shape.

[Android.Runtime.Register("setIntrinsicHeight", "(I)V", "GetSetIntrinsicHeight_IHandler")]
public virtual void SetIntrinsicHeight (int height);
[<Android.Runtime.Register("setIntrinsicHeight", "(I)V", "GetSetIntrinsicHeight_IHandler")>]
abstract member SetIntrinsicHeight : int -> unit
override this.SetIntrinsicHeight : int -> unit

Parameters

height
Int32

the intrinsic height (in pixels)

Attributes

Remarks

Sets the intrinsic (default) height for this shape.

Java documentation for android.graphics.drawable.ShapeDrawable.setIntrinsicHeight(int).

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