ViewGroup.LayoutParams.SetBaseAttributes(TypedArray, 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.
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);
[<Android.Runtime.Register("setBaseAttributes", "(Landroid/content/res/TypedArray;II)V", "GetSetBaseAttributes_Landroid_content_res_TypedArray_IIHandler")>]
abstract member SetBaseAttributes : Android.Content.Res.TypedArray * int * int -> unit
override this.SetBaseAttributes : Android.Content.Res.TypedArray * int * int -> unit
Parameters
the style attributes to extract the parameters from
- widthAttr
- Int32
the identifier of the width attribute
- heightAttr
- Int32
the identifier of the height attribute
- Attributes
Remarks
Extracts the layout parameters from the supplied attributes.
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.