public abstract class Style
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected android.util.AttributeSet |
attrs |
|
protected android.content.Context |
context |
|
protected android.content.res.Resources |
resources |
| Modifier | Constructor | Description |
|---|---|---|
protected |
Style(android.content.Context context,
android.util.AttributeSet attrs) |
| Modifier and Type | Method | Description |
|---|---|---|
protected int |
getColor(int color) |
|
protected int |
getDimension(int dimen) |
|
protected android.graphics.drawable.Drawable |
getDrawable(int drawable) |
|
protected int |
getSystemAccentColor() |
|
protected int |
getSystemColor(int attr) |
|
protected int |
getSystemHintColor() |
|
protected int |
getSystemPrimaryColor() |
|
protected int |
getSystemPrimaryDarkColor() |
|
protected int |
getSystemPrimaryTextColor() |
|
protected android.graphics.drawable.Drawable |
getVectorDrawable(int drawable) |
protected android.content.Context context
protected android.content.res.Resources resources
protected android.util.AttributeSet attrs
protected Style(android.content.Context context,
android.util.AttributeSet attrs)
protected final int getSystemAccentColor()
protected final int getSystemPrimaryColor()
protected final int getSystemPrimaryDarkColor()
protected final int getSystemPrimaryTextColor()
protected final int getSystemHintColor()
protected final int getSystemColor(@AttrRes
int attr)
protected final int getDimension(@DimenRes
int dimen)
protected final int getColor(@ColorRes
int color)
protected final android.graphics.drawable.Drawable getDrawable(@DrawableRes
int drawable)
protected final android.graphics.drawable.Drawable getVectorDrawable(@DrawableRes
int drawable)