Package icyllis.modernui.resources
Class Resources
java.lang.Object
icyllis.modernui.resources.Resources
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This exception is thrown by the resource APIs when a requested resource can not be found.final class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColorStateList
(ResourceId id, Resources.Theme theme) void
getValue
(ResourceId id, TypedValue outValue, boolean resolveRefs) loadColorStateList
(TypedValue value, Resources.Theme theme) final Resources.Theme
newTheme()
void
updateMetrics
(DisplayMetrics metrics)
-
Field Details
-
MARKER
public static final org.slf4j.Marker MARKER -
DEFAULT_NAMESPACE
- See Also:
-
-
Constructor Details
-
Resources
public Resources()
-
-
Method Details
-
updateMetrics
-
newTheme
-
getDisplayMetrics
-
getValue
-
getColorStateList
@NonNull public ColorStateList getColorStateList(@NonNull ResourceId id, @Nullable Resources.Theme theme) -
loadColorStateList
@NonNull public ColorStateList loadColorStateList(@NonNull TypedValue value, @Nullable Resources.Theme theme)
-