RemoteViews.SetTextViewCompoundDrawables Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Equivalent to calling
TextView#setCompoundDrawablesWithIntrinsicBounds(int, int, int, int)
.
[Android.Runtime.Register("setTextViewCompoundDrawables", "(IIIII)V", "GetSetTextViewCompoundDrawables_IIIIIHandler")]
public virtual void SetTextViewCompoundDrawables (int viewId, int left, int top, int right, int bottom);
[<Android.Runtime.Register("setTextViewCompoundDrawables", "(IIIII)V", "GetSetTextViewCompoundDrawables_IIIIIHandler")>]
abstract member SetTextViewCompoundDrawables : int * int * int * int * int -> unit
override this.SetTextViewCompoundDrawables : int * int * int * int * int -> unit
Parameters
- viewId
- Int32
The id of the view whose text should change
- left
- Int32
The id of a drawable to place to the left of the text, or 0
- top
- Int32
The id of a drawable to place above the text, or 0
- right
- Int32
The id of a drawable to place to the right of the text, or 0
- bottom
- Int32
The id of a drawable to place below the text, or 0
- Attributes
Remarks
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.