RemoteViews.SetTextViewCompoundDrawables 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
等效于调用 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
参数
- viewId
- Int32
应更改其文本的视图的 ID
- left
- Int32
要放置在文本左侧的可绘制对象的 ID,或 0
- top
- Int32
要放置在文本上方的可绘制对象的 ID,或 0
- right
- Int32
要放置在文本右侧的可绘制对象的 ID,或 0
- bottom
- Int32
要放置在文本下方的可绘制对象的 ID,或 0
- 特性
注解
Java文档android.widget.RemoteViews.setTextViewCompoundDrawables(int, int, int, int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。