Context.ObtainStyledAttributes Context.ObtainStyledAttributes Method

Definition

Overloads

ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32) ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32)

Retrieve styled attribute information in this Context's theme.

ObtainStyledAttributes(Int32, Int32[]) ObtainStyledAttributes(Int32, Int32[])

Retrieve styled attribute information in this Context's theme.

ObtainStyledAttributes(Int32[]) ObtainStyledAttributes(Int32[])

Retrieve styled attribute information in this Context's theme.

ObtainStyledAttributes(IAttributeSet, Int32[]) ObtainStyledAttributes(IAttributeSet, Int32[])

Retrieve styled attribute information in this Context's theme.

ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32) ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32)

Retrieve styled attribute information in this Context's theme.

[Android.Runtime.Register("obtainStyledAttributes", "(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;", "")]
public Android.Content.Res.TypedArray ObtainStyledAttributes (Android.Util.IAttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes);
member this.ObtainStyledAttributes : Android.Util.IAttributeSet * int[] * int * int -> Android.Content.Res.TypedArray

Parameters

attrs
Int32[]
defStyleAttr
Int32 Int32
defStyleRes
Int32 Int32

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.

ObtainStyledAttributes(Int32, Int32[]) ObtainStyledAttributes(Int32, Int32[])

Retrieve styled attribute information in this Context's theme.

[Android.Runtime.Register("obtainStyledAttributes", "(I[I)Landroid/content/res/TypedArray;", "")]
public Android.Content.Res.TypedArray ObtainStyledAttributes (int resid, int[] attrs);
member this.ObtainStyledAttributes : int * int[] -> Android.Content.Res.TypedArray

Parameters

resid
Int32 Int32
attrs
Int32[]

Returns

Exceptions

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.

ObtainStyledAttributes(Int32[]) ObtainStyledAttributes(Int32[])

Retrieve styled attribute information in this Context's theme.

[Android.Runtime.Register("obtainStyledAttributes", "([I)Landroid/content/res/TypedArray;", "")]
public Android.Content.Res.TypedArray ObtainStyledAttributes (int[] attrs);
member this.ObtainStyledAttributes : int[] -> Android.Content.Res.TypedArray

Parameters

attrs
Int32[]

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.

ObtainStyledAttributes(IAttributeSet, Int32[]) ObtainStyledAttributes(IAttributeSet, Int32[])

Retrieve styled attribute information in this Context's theme.

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

Parameters

attrs
Int32[]

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