Udostępnij za pośrednictwem


TextView.CompoundDrawablePadding Property

Definition

Returns the padding between the compound drawables and the text. -or- Sets the size of the padding between the compound drawables and the text.

public virtual int CompoundDrawablePadding { [Android.Runtime.Register("getCompoundDrawablePadding", "()I", "GetGetCompoundDrawablePaddingHandler")] get; [Android.Runtime.Register("setCompoundDrawablePadding", "(I)V", "GetSetCompoundDrawablePadding_IHandler")] set; }
[<get: Android.Runtime.Register("getCompoundDrawablePadding", "()I", "GetGetCompoundDrawablePaddingHandler")>]
[<set: Android.Runtime.Register("setCompoundDrawablePadding", "(I)V", "GetSetCompoundDrawablePadding_IHandler")>]
member this.CompoundDrawablePadding : int with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the padding between the compound drawables and the text.

Java documentation for android.widget.TextView.getCompoundDrawablePadding().

Property setter documentation:

Sets the size of the padding between the compound drawables and the text.

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