ShadowViewDelegate


Kotlin |Java

public interface ShadowViewDelegate 


Delegate interface that can be used to facilitate rendering of shadows pre-lollipop.

Summary

Public methods

abstract float
abstract boolean
abstract void
setBackgroundDrawable(Drawable background)
abstract void
setShadowPadding(int left, int top, int right, int bottom)

Public methods

getRadius

abstract float getRadius()

isCompatPaddingEnabled

abstract boolean isCompatPaddingEnabled()

setBackgroundDrawable

abstract void setBackgroundDrawable(Drawable background)

setShadowPadding

abstract void setShadowPadding(int left, int top, int right, int bottom)

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026年05月14日 UTC.