Most visited

Recently visited

AppCompatResources

public final class AppCompatResources
extends Object

java.lang.Object
   ↳ android.support.v7.content.res.AppCompatResources


Class for accessing an application's resources through AppCompat, and thus any backward compatible functionality.

Summary

Public methods

static ColorStateList getColorStateList(Context context, int resId)

Returns the ColorStateList from the given resource.

Inherited methods

From class java.lang.Object

Public methods

getColorStateList

ColorStateList getColorStateList (Context context, 
                int resId)

Returns the ColorStateList from the given resource. The resource can include themeable attributes, regardless of API level.

Parameters
context Context: content to inflate against
resId int: the resource identifier of the ColorStateList to retrieve
Returns
ColorStateList

Hooray!