public class ShadowImageView
extends AppCompatImageView
| Constructor and Description |
|---|
ShadowImageView(android.content.Context context) |
ShadowImageView(android.content.Context context,
android.util.AttributeSet attrs) |
ShadowImageView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPressedColor() |
protected void |
onDraw(android.graphics.Canvas canvas) |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
boolean |
onTouchEvent(android.view.MotionEvent event) |
void |
setPressedColor(int pressedColor)
Set the pressed color.
|
public ShadowImageView(android.content.Context context)
public ShadowImageView(android.content.Context context,
android.util.AttributeSet attrs)
public ShadowImageView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
protected void onSizeChanged(int w,
int h,
int oldw,
int oldh)
protected void onDraw(android.graphics.Canvas canvas)
public boolean onTouchEvent(android.view.MotionEvent event)
public int getPressedColor()
public void setPressedColor(int pressedColor)
pressedColor - pressed color