History log of /packages/apps/DeskClock/src/com/android/deskclock/widget/toast/LinearLayoutWithSnackbarBehavior.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7c955e743119c9101b753d151a7a6deba227ddf9 28-Aug-2015 Fan Zhang <zhfan@google.com> Replace toast with snackbar when applicable.

Bug: 16877477
Bug: 23343217

Changed root view from a LinearLayout to CoordinatorLayout, which is
required to build custom behavior.

Added a custom behavior on linear layout - this makes the left/right/fab
button slide up/down as snackbar visibility changes.

Replaced most toast to snackbar. When we show toast without a UI, we
can't use snack bar.

Change-Id: Icd0ffd58d3f211dbe7d861868e763f227941e455
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/LinearLayoutWithSnackbarBehavior.java