public class RippleDrawableLollipop extends android.graphics.drawable.RippleDrawable implements RippleDrawable
android.graphics.drawable.Drawable.Callback, android.graphics.drawable.Drawable.ConstantState
RippleDrawable.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, setVisible
addLayer, 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, unscheduleDrawable
clearColorFilter, 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, unscheduleSelf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
draw, getAlpha, getOpacity, isStateful, jumpToCurrentState, setAlpha, setBounds, setBounds, setCallback, setColorFilter, setHotspot, setState
public RippleDrawableLollipop(android.content.res.ColorStateList color, android.graphics.drawable.Drawable background, RippleDrawable.Style style)
public android.graphics.drawable.Drawable getBackground()
getBackground
in interface RippleDrawable
public RippleDrawable.Style getStyle()
getStyle
in interface RippleDrawable
public boolean isHotspotEnabled()
isHotspotEnabled
in interface RippleDrawable
public void setHotspotEnabled(boolean useHotspot)
setHotspotEnabled
in interface RippleDrawable
public android.content.res.ColorStateList getColor()
getColor
in interface RippleDrawable
public void setRadius(int radius)
setRadius
in interface RippleDrawable
setRadius
in class android.graphics.drawable.RippleDrawable
public int getRadius()
getRadius
in interface RippleDrawable
getRadius
in class android.graphics.drawable.RippleDrawable