View.GetAttributeResolutionStack(Int32) Method

Definition

Returns the ordered list of resource ID that are considered when resolving attribute values for this View.

[Android.Runtime.Register("getAttributeResolutionStack", "(I)[I", "GetGetAttributeResolutionStack_IHandler", ApiSince=29)]
public virtual int[] GetAttributeResolutionStack (int attribute);
[<Android.Runtime.Register("getAttributeResolutionStack", "(I)[I", "GetGetAttributeResolutionStack_IHandler", ApiSince=29)>]
abstract member GetAttributeResolutionStack : int -> int[]
override this.GetAttributeResolutionStack : int -> int[]

Parameters

attribute
Int32

Attribute resource ID for which the resolution stack should be returned.

Returns

Int32[]

ordered list of resource ID that are considered when resolving attribute values for this View.

Attributes

Remarks

Returns the ordered list of resource ID that are considered when resolving attribute values for this View. The list will include layout resource ID if the View is inflated from XML. It will also include a set of explicit styles if specified in XML using style="...". Finally, it will include the default styles resolved from the theme.

<b>Note:</b> this method will only return actual values if the view attribute debugging is enabled in Android developer options.

Java documentation for android.view.View.getAttributeResolutionStack(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