lib
Toggle table of contents
1.14.0+1.0.47-sesl9+rev13
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
lib
lib
/
com.google.android.material.snackbar
/
SnackbarContentLayout
Snackbar
Content
Layout
@
RestrictTo
(
value
=
LIBRARY_GROUP
)
open
class
SnackbarContentLayout
:
LinearLayout
,
ContentViewCallback
Members
Constructors
Snackbar
Content
Layout
Link copied to clipboard
constructor
(
@
NonNull
context
:
Context
)
constructor
(
@
NonNull
context
:
Context
,
@
Nullable
attrs
:
AttributeSet
)
Properties
action
View
Link copied to clipboard
open
val
actionView
:
Button
close
View
Link copied to clipboard
@
Nullable
@get:
Nullable
open
val
closeView
:
Button
message
View
Link copied to clipboard
open
val
messageView
:
TextView
Functions
animate
Content
In
Link copied to clipboard
open
fun
animateContentIn
(
delay
:
Int
,
duration
:
Int
)
Animates the content of the transient bottom bar in.
animate
Content
Out
Link copied to clipboard
open
fun
animateContentOut
(
delay
:
Int
,
duration
:
Int
)
Animates the content of the transient bottom bar out.
invalidate
Snackbar
Content
Layout
Link copied to clipboard
open
fun
invalidateSnackbarContentLayout
(
)
is
Blur
Applied
Link copied to clipboard
open
fun
isBlurApplied
(
)
:
Boolean
is
Window
Blur
Applied
Link copied to clipboard
open
fun
isWindowBlurApplied
(
)
:
Boolean
sesl
Apply
Blur
Info
Link copied to clipboard
open
fun
seslApplyBlurInfo
(
disableBlur
:
Boolean
,
blurMode
:
Int
)
:
Boolean
set
Max
Inline
Action
Width
Link copied to clipboard
open
fun
setMaxInlineActionWidth
(
width
:
Int
)