다음을 통해 공유


LayerDrawable.SetLayerInsetTop(Int32, Int32) Method

Definition

[Android.Runtime.Register("setLayerInsetTop", "(II)V", "GetSetLayerInsetTop_IIHandler", ApiSince=23)]
public virtual void SetLayerInsetTop (int index, int t);
[<Android.Runtime.Register("setLayerInsetTop", "(II)V", "GetSetLayerInsetTop_IIHandler", ApiSince=23)>]
abstract member SetLayerInsetTop : int * int -> unit
override this.SetLayerInsetTop : int * int -> unit

Parameters

index
Int32

the index of the layer to adjust

t
Int32

number of pixels to inset from the top bound

Attributes

Remarks

Java documentation for android.graphics.drawable.LayerDrawable.setLayerInsetTop(int, 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