Package org.robolectric.shadows
Class ShadowResources.ShadowLegacyTheme
java.lang.Object
org.robolectric.shadows.ShadowResources.ShadowTheme
org.robolectric.shadows.ShadowResources.ShadowLegacyTheme
- Enclosing class:
- ShadowResources
@Implements(value=android.content.res.Resources.Theme.class, shadowPicker=Picker.class) public static class ShadowResources.ShadowLegacyTheme extends ShadowResources.ShadowTheme
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowResources.ShadowTheme
ShadowResources.ShadowTheme.Picker
-
Constructor Summary
Constructors Constructor Description ShadowLegacyTheme()
-
Method Summary
Modifier and Type Method Description protected TypedArray
obtainStyledAttributes(int[] attrs)
protected TypedArray
obtainStyledAttributes(int resid, int[] attrs)
protected TypedArray
obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes)
-
Constructor Details
-
ShadowLegacyTheme
public ShadowLegacyTheme()
-
-
Method Details
-
obtainStyledAttributes
-
obtainStyledAttributes
@Implementation(maxSdk=23) protected TypedArray obtainStyledAttributes(int resid, int[] attrs) throws Resources.NotFoundException- Throws:
Resources.NotFoundException
-
obtainStyledAttributes
@Implementation(maxSdk=23) protected TypedArray obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes)
-