This is a developer DEMO of the SnackBar design pattern introduced in the Google Material Design guidelines.
- Set message text and optionally duration
- Shows only one message at a time
- Can have action item (e.g. undo, refresh, etc.)
- Set text color of action items
- Swipe down to dismiss all notifications
- Tablet support
- Backwards compatible to 2.3.x
Ini adalah DEMO pemaju corak reka bentuk Snackbar yang diperkenalkan dalam garis panduan Google Bahan Design.
- Set teks mesej dan tempoh pilihan
- Menunjukkan hanya satu mesej pada satu masa
- Boleh mempunyai item tindakan (contohnya buat asal, refresh, dll)
- Warna Set teks item tindakan
- Leret ke bawah untuk memecat semua pemberitahuan
- Sokongan Tablet
- Ke belakang serasi untuk 2.3.x