public final class RippleManager
extends java.lang.Object
implements android.view.View.OnClickListener
| Constructor and Description |
|---|
RippleManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cancelRipple(android.view.View v)
Cancel the ripple effect of this view and all of it's children.
|
void |
onClick(android.view.View v) |
void |
onCreate(android.view.View v,
android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes)
Should be called in the construction method of view to create a RippleDrawable.
|
boolean |
onTouchEvent(android.view.View v,
android.view.MotionEvent event) |
void |
setOnClickListener(android.view.View.OnClickListener l) |
public void onCreate(android.view.View v,
android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes)
v - context - attrs - defStyleAttr - defStyleRes - public void setOnClickListener(android.view.View.OnClickListener l)
public boolean onTouchEvent(android.view.View v,
android.view.MotionEvent event)
public void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerpublic static void cancelRipple(android.view.View v)
v -