Läs på engelska

Dela via


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

Definition

Extracts the layout parameters from the supplied attributes.

C#
[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);

Parameters

a
TypedArray

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.

Java documentation for android.view.ViewGroup.LayoutParams.setBaseAttributes(android.content.res.TypedArray, 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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35