Sdílet prostřednictvím


TextView.SetPaddingRelative(Int32, Int32, Int32, Int32) Method

Definition

Sets the relative padding.

[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

Parameters

start
Int32

the start padding in pixels

top
Int32

the top padding in pixels

end
Int32

the end padding in pixels

bottom
Int32

the bottom padding in pixels

Attributes

Remarks

Java documentation for android.widget.TextView.setPaddingRelative(int, int, 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