JavaScript is disabled on your browser.
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
H
L
S
V
W
A
android.lib.widget.snackbar
- package android.lib.widget.snackbar
H
hide()
- Method in class android.lib.widget.snackbar.
Snackbar
Hides the
Snackbar
if it is currently showing; otherwise, does nothing.
L
LENGTH_INFINITE
- Static variable in class android.lib.widget.snackbar.
Snackbar
Shows the text notification for an infinite period of time.
LENGTH_LONG
- Static variable in class android.lib.widget.snackbar.
Snackbar
Shows the text notification for a long period of time.
LENGTH_SHORT
- Static variable in class android.lib.widget.snackbar.
Snackbar
Shows the text notification for a short period of time.
S
setAction(int, int, View.OnClickListener)
- Method in class android.lib.widget.snackbar.
Snackbar
Sets the action button text and text color, and the botton's click event listener.
setAction(CharSequence, int, View.OnClickListener)
- Method in class android.lib.widget.snackbar.
Snackbar
Sets the action button text and text color, and the botton's click event listener.
setActions(int, int, View.OnClickListener, int, int, View.OnClickListener)
- Method in class android.lib.widget.snackbar.
Snackbar
Sets the text, text color, and the click event listeners for the two action buttons.
setDuration(int)
- Method in class android.lib.widget.snackbar.
Snackbar
Sets how long to show the text notification for.
setGravity(Snackbar.Gravity)
- Method in class android.lib.widget.snackbar.
Snackbar
Sets the placement of the
Snackbar
within its container.
setText(int)
- Method in class android.lib.widget.snackbar.
Snackbar
Sets the string value of the
Snackbar
.
setText(CharSequence)
- Method in class android.lib.widget.snackbar.
Snackbar
Sets the string value of the
Snackbar
.
setTextColor(int)
- Method in class android.lib.widget.snackbar.
Snackbar
Sets the text color of the string to be displayed.
show()
- Method in class android.lib.widget.snackbar.
Snackbar
Shows the
Snackbar
.
Snackbar
- Class in
android.lib.widget.snackbar
Snackbar.Gravity
- Enum in
android.lib.widget.snackbar
Constant values for defining the placement of the
Snackbar
within its container.
V
valueOf(String)
- Static method in enum android.lib.widget.snackbar.
Snackbar.Gravity
Returns the enum constant of this type with the specified name.
values()
- Static method in enum android.lib.widget.snackbar.
Snackbar.Gravity
Returns an array containing the constants of this enum type, in the order they are declared.
W
with(Activity)
- Static method in class android.lib.widget.snackbar.
Snackbar
Creates a
Snackbar
with the given
Activity
as its container.
A
H
L
S
V
W
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes