public class ImageView extends AppCompatImageView implements ThemeManager.OnThemeChangedListener
Modifier and Type | Field and Description |
---|---|
protected int |
mCurrentStyle |
protected int |
mStyleId |
Constructor and Description |
---|
ImageView(android.content.Context context) |
ImageView(android.content.Context context,
android.util.AttributeSet attrs) |
ImageView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyStyle(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes) |
void |
applyStyle(int resId) |
protected RippleManager |
getRippleManager() |
protected void |
init(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes) |
protected void |
onAttachedToWindow() |
protected void |
onDetachedFromWindow() |
void |
onThemeChanged(ThemeManager.OnThemeChangedEvent event) |
boolean |
onTouchEvent(android.view.MotionEvent event) |
void |
setBackgroundDrawable(android.graphics.drawable.Drawable drawable) |
void |
setOnClickListener(OnClickListener l) |
public ImageView(android.content.Context context)
public ImageView(android.content.Context context, android.util.AttributeSet attrs)
public ImageView(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)
protected void init(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes)
public void applyStyle(int resId)
protected void applyStyle(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes)
public void onThemeChanged(ThemeManager.OnThemeChangedEvent event)
onThemeChanged
in interface ThemeManager.OnThemeChangedListener
protected void onAttachedToWindow()
protected void onDetachedFromWindow()
public void setBackgroundDrawable(android.graphics.drawable.Drawable drawable)
protected RippleManager getRippleManager()
public void setOnClickListener(OnClickListener l)
public boolean onTouchEvent(android.view.MotionEvent event)