Share via


RemoteViews.SetViewLayoutHeightDimen(Int32, Int32) Method

Definition

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.

Applies to