public class RippleDrawableMarshmallow extends android.graphics.drawable.RippleDrawable implements RippleDrawable
android.graphics.drawable.Drawable.Callback, android.graphics.drawable.Drawable.ConstantState
RippleDrawable.Style
Constructor and Description |
---|
RippleDrawableMarshmallow(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() |
RippleDrawable.Style |
getStyle() |
boolean |
isHotspotEnabled() |
void |
setHotspotEnabled(boolean useHotspot) |
applyTheme, canApplyTheme, draw, getConstantState, getDirtyBounds, getHotspotBounds, getOpacity, getOutline, getRadius, inflate, invalidateSelf, isStateful, jumpToCurrentState, mutate, onBoundsChange, onStateChange, setColor, setDrawableByLayerId, setHotspot, setHotspotBounds, setPaddingMode, setRadius, 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, getRadius, isStateful, jumpToCurrentState, setAlpha, setBounds, setBounds, setCallback, setColorFilter, setHotspot, setRadius, setState
public RippleDrawableMarshmallow(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