RemoteViews.SetViewLayoutHeightDimen(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#height
with
the result of Resources#getDimensionPixelSize(int)
.
[Android.Runtime.Register("setViewLayoutHeightDimen", "(II)V", "GetSetViewLayoutHeightDimen_IIHandler", ApiSince=31)]
public virtual void SetViewLayoutHeightDimen (int viewId, int heightDimen);
[<Android.Runtime.Register("setViewLayoutHeightDimen", "(II)V", "GetSetViewLayoutHeightDimen_IIHandler", ApiSince=31)>]
abstract member SetViewLayoutHeightDimen : int * int -> unit
override this.SetViewLayoutHeightDimen : int * int -> unit
Parameters
- viewId
- Int32
- heightDimen
- Int32
a dimen resource to read the height from.
- Attributes
Remarks
Java documentation for android.widget.RemoteViews.setViewLayoutHeightDimen(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.