public abstract class OverlayResources
extends java.lang.Object
| Constructor and Description |
|---|
OverlayResources(android.content.Context context,
int customStyle,
int defaultStyle) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup() |
protected int |
getColor(int id) |
protected float |
getDimension(int id) |
protected android.graphics.drawable.Drawable |
getDrawable(int id) |
protected int |
getStyle(int id) |
protected abstract int[] |
getStyleable() |
public OverlayResources(@NonNull
android.content.Context context,
@StyleRes
int customStyle,
@StyleRes
int defaultStyle)
@NonNull protected abstract int[] getStyleable()
@Nullable
protected android.graphics.drawable.Drawable getDrawable(@StyleableRes
int id)
@StyleRes
protected int getStyle(@StyleableRes
int id)
protected int getColor(@StyleableRes
int id)
@Dimension
protected float getDimension(@StyleableRes
int id)
protected void cleanup()