语言

LayerDrawable.SetLayerInsetTop(Int32, Int32) 方法

定义

设置层的顶部内集。

[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

参数

index
Int32

要调整的层的索引

t
Int32

要从顶部边界内嵌入的像素数

特性

注解

Java文档android.graphics.drawable.LayerDrawable.setLayerInsetTop(int, int)。

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于