RemoteViews.SetViewLayoutWidthDimen(Int32, Int32) 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 setting android.view.ViewGroup.LayoutParams#width
with
the result of Resources#getDimensionPixelSize(int)
.
[Android.Runtime.Register("setViewLayoutWidthDimen", "(II)V", "GetSetViewLayoutWidthDimen_IIHandler", ApiSince=31)]
public virtual void SetViewLayoutWidthDimen (int viewId, int widthDimen);
[<Android.Runtime.Register("setViewLayoutWidthDimen", "(II)V", "GetSetViewLayoutWidthDimen_IIHandler", ApiSince=31)>]
abstract member SetViewLayoutWidthDimen : int * int -> unit
override this.SetViewLayoutWidthDimen : int * int -> unit
Parameters
- viewId
- Int32
- widthDimen
- Int32
the dimension resource for the view's width
- Attributes
Remarks
Java documentation for android.widget.RemoteViews.setViewLayoutWidthDimen(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.