Resources.ObtainAttributes(IAttributeSet, Int32[]) Resources.ObtainAttributes(IAttributeSet, Int32[]) Method

Definition

Retrieve a set of basic attribute values from an AttributeSet, not performing styling of them using a theme and/or style resources.

[Android.Runtime.Register("obtainAttributes", "(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;", "GetObtainAttributes_Landroid_util_AttributeSet_arrayIHandler")]
public virtual Android.Content.Res.TypedArray ObtainAttributes (Android.Util.IAttributeSet set, int[] attrs);
abstract member ObtainAttributes : Android.Util.IAttributeSet * int[] -> Android.Content.Res.TypedArray
override this.ObtainAttributes : Android.Util.IAttributeSet * int[] -> Android.Content.Res.TypedArray

Parameters

set
IAttributeSet IAttributeSet

The current attribute values to retrieve.

attrs
Int32[]

The specific attributes to be retrieved.

Returns

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