public class RippleDrawableLollipop extends android.graphics.drawable.RippleDrawable implements RippleDrawable
android.graphics.drawable.Drawable.Callback, android.graphics.drawable.Drawable.ConstantStateRippleDrawable.Style| Constructor and Description |
|---|
RippleDrawableLollipop(android.content.res.ColorStateList color,
android.graphics.drawable.Drawable background,
RippleDrawable.Style style) |
| Modifier and Type | Method and Description |
|---|---|
android.graphics.drawable.Drawable |
getBackground() |
android.content.res.ColorStateList |
getColor() |
int |
getRadius() |
RippleDrawable.Style |
getStyle() |
boolean |
isHotspotEnabled() |
void |
setHotspotEnabled(boolean useHotspot) |
void |
setRadius(int radius) |
applyTheme, canApplyTheme, draw, getConstantState, getDirtyBounds, getHotspotBounds, getOpacity, getOutline, inflate, invalidateSelf, isStateful, jumpToCurrentState, mutate, onBoundsChange, onStateChange, setColor, setDrawableByLayerId, setHotspot, setHotspotBounds, setPaddingMode, setVisibleaddLayer, findDrawableByLayerId, findIndexByLayerId, getAlpha, getBottomPadding, getChangingConfigurations, getDrawable, getEndPadding, getId, getIntrinsicHeight, getIntrinsicWidth, getLayerGravity, getLayerHeight, getLayerInsetBottom, getLayerInsetEnd, getLayerInsetLeft, getLayerInsetRight, getLayerInsetStart, getLayerInsetTop, getLayerWidth, getLeftPadding, getNumberOfLayers, getPadding, getPaddingMode, getRightPadding, getStartPadding, getTopPadding, invalidateDrawable, isAutoMirrored, onLayoutDirectionChanged, onLevelChange, scheduleDrawable, setAlpha, setAutoMirrored, setColorFilter, setDither, setDrawable, setId, setLayerGravity, setLayerHeight, setLayerInset, setLayerInsetBottom, setLayerInsetEnd, setLayerInsetLeft, setLayerInsetRelative, setLayerInsetRight, setLayerInsetStart, setLayerInsetTop, setLayerSize, setLayerWidth, setOpacity, setPadding, setPaddingRelative, setTintList, setTintMode, unscheduleDrawableclearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getBounds, getCallback, getColorFilter, getCurrent, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getState, getTransparentRegion, inflate, isFilterBitmap, isVisible, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setFilterBitmap, setLayoutDirection, setLevel, setState, setTint, unscheduleSelfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, getAlpha, getOpacity, isStateful, jumpToCurrentState, setAlpha, setBounds, setBounds, setCallback, setColorFilter, setHotspot, setStatepublic RippleDrawableLollipop(android.content.res.ColorStateList color,
android.graphics.drawable.Drawable background,
RippleDrawable.Style style)
public android.graphics.drawable.Drawable getBackground()
getBackground in interface RippleDrawablepublic RippleDrawable.Style getStyle()
getStyle in interface RippleDrawablepublic boolean isHotspotEnabled()
isHotspotEnabled in interface RippleDrawablepublic void setHotspotEnabled(boolean useHotspot)
setHotspotEnabled in interface RippleDrawablepublic android.content.res.ColorStateList getColor()
getColor in interface RippleDrawablepublic void setRadius(int radius)
setRadius in interface RippleDrawablesetRadius in class android.graphics.drawable.RippleDrawablepublic int getRadius()
getRadius in interface RippleDrawablegetRadius in class android.graphics.drawable.RippleDrawable