RemoteViews.SetViewLayoutWidthAttr(Int32, Int32) メソッド

定義

現在のテーマの特定の属性の値を使用して android.view.ViewGroup.LayoutParams#width を設定することと同じです。

[Android.Runtime.Register("setViewLayoutWidthAttr", "(II)V", "GetSetViewLayoutWidthAttr_IIHandler", ApiSince=31)]
public virtual void SetViewLayoutWidthAttr(int viewId, int widthAttr);
[<Android.Runtime.Register("setViewLayoutWidthAttr", "(II)V", "GetSetViewLayoutWidthAttr_IIHandler", ApiSince=31)>]
abstract member SetViewLayoutWidthAttr : int * int -> unit
override this.SetViewLayoutWidthAttr : int * int -> unit

パラメーター

viewId
Int32

int

widthAttr
Int32

ビューの幅のディメンション属性

属性

注釈

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象