Skip to content

Commit ef2c2fa

Browse files
dsn5ftpekingme
authored andcommittedJun 6, 2022
[Docs] Update Snackbar doc regarding CoordinatorLayout
PiperOrigin-RevId: 453180113
1 parent 25482b1 commit ef2c2fa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎docs/components/Snackbar.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ Available duration presets are:
4444
* `LENGTH_SHORT` (Show the snackbar for a short period of time)
4545

4646
**Note:** Snackbars work best if they are displayed inside of a
47-
[CoordinatorLayout](https://developer.android.com/reference/androidx/coordinatorlayout/widget/CoordinatorLayout).
48-
`CoordinatorLayout` allows the snackbar to enable behavior like
49-
swipe-to-dismiss, as well as automatically moving widgets like
50-
[FloatingActionButton](FloatingActionButton.md).
47+
[CoordinatorLayout](https://developer.android.com/reference/androidx/coordinatorlayout/widget/CoordinatorLayout),
48+
which allows the snackbar to enable behavior like swipe-to-dismiss.
5149

5250
### Making snackbars accessible
5351

0 commit comments

Comments
 (0)
Please sign in to comment.