RemoteViews.SetViewLayoutWidth(Int32, Single, 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
except that you may
provide the value in any dimension units.
[Android.Runtime.Register("setViewLayoutWidth", "(IFI)V", "GetSetViewLayoutWidth_IFIHandler", ApiSince=31)]
public virtual void SetViewLayoutWidth (int viewId, float width, int units);
[<Android.Runtime.Register("setViewLayoutWidth", "(IFI)V", "GetSetViewLayoutWidth_IFIHandler", ApiSince=31)>]
abstract member SetViewLayoutWidth : int * single * int -> unit
override this.SetViewLayoutWidth : int * single * int -> unit
Parameters
- viewId
- Int32
- width
- Single
Width of the view in the given units
- units
- Int32
The unit type of the value e.g. TypedValue#COMPLEX_UNIT_DIP
- Attributes
Remarks
Java documentation for android.widget.RemoteViews.setViewLayoutWidth(int, float, 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.