You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+20-4Lines changed: 20 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,10 @@ Android - UndoBar
3
3
As seen in Google's [Gmail](https://play.google.com/store/apps/details?id=com.google.android.gm) app.
4
4
5
5
* Simple Builder pattern
6
-
* Includes pre & post **KitKat**design
6
+
* Includes [three styles](https://github.com/jenzz/Android-UndoBar/blob/develop/library/src/main/java/com/jensdriller/libs/undobar/UndoBar.java#L24-50) (incl. Material Design [Snackbar](http://www.google.com/design/spec/components/snackbars-toasts.html))

16
17
17
-
* KitKat and later
18
+
* KitKat
18
19
19
20

20
21

21
22
23
+
* Lollipop and later
24
+
25
+

26
+

27
+
22
28
Usage
23
29
-----
24
30
* It's as simple as:
@@ -30,6 +36,16 @@ new UndoBar.Builder(this)//
30
36
.show();
31
37
```
32
38
39
+
* You can also **explicitly** use one of the styles shown above. This is useful, for example, if you want to show a **consistent Material Design style** across all API levels. By default, it uses the style of the device's current API level. Here's an example:
Still using Eclipse? Check out the [master_eclipse](https://github.com/jenzz/Android-UndoBar/tree/master_eclipse) branch and import it as a library project.<br />
0 commit comments