TextView.SetPaddingRelative(Int32, Int32, Int32, Int32) 方法

定義

設定相對填充。

[Android.Runtime.Register("setPaddingRelative", "(IIII)V", "GetSetPaddingRelative_IIIIHandler")]
public override void SetPaddingRelative(int start, int top, int end, int bottom);
[<Android.Runtime.Register("setPaddingRelative", "(IIII)V", "GetSetPaddingRelative_IIIIHandler")>]
override this.SetPaddingRelative : int * int * int * int -> unit

參數

start
Int32

起始像素填充

top
Int32

頂部填充物以像素為單位

end
Int32

以像素為單位的末端填充

bottom
Int32

底部填充(像素單位)

屬性

備註

Java 文件 android.widget.TextView.setPaddingRelative(int, int, int, int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於