ViewGroup.LayoutParams.SetBaseAttributes(TypedArray, Int32, Int32) ViewGroup.LayoutParams.SetBaseAttributes(TypedArray, Int32, Int32) Method

Definition

Extracts the layout parameters from the supplied attributes.

[Android.Runtime.Register("setBaseAttributes", "(Landroid/content/res/TypedArray;II)V", "GetSetBaseAttributes_Landroid_content_res_TypedArray_IIHandler")]
protected virtual void SetBaseAttributes (Android.Content.Res.TypedArray a, int widthAttr, int heightAttr);
abstract member SetBaseAttributes : Android.Content.Res.TypedArray * int * int -> unit
override this.SetBaseAttributes : Android.Content.Res.TypedArray * int * int -> unit

Parameters

a
TypedArray TypedArray

the style attributes to extract the parameters from

widthAttr
Int32 Int32

the identifier of the width attribute

heightAttr
Int32 Int32

the identifier of the height attribute

Remarks

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