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
Copy file name to clipboardExpand all lines: README.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The default toasts are ugly and don't really provide much more than a short mess
13
13
#### Gradle
14
14
```groovy
15
15
dependencies {
16
-
compile 'net.steamcrafted:load-toast:1.0.10'
16
+
compile 'net.steamcrafted:load-toast:1.0.11'
17
17
}
18
18
```
19
19
@@ -49,7 +49,7 @@ lt.success();
49
49
lt.error();
50
50
```
51
51
52
-
If you are using translucent actionbar in a full screen activity it will appear over the actionbar, fortunately there is a method to change the y translation:
52
+
To properly position the toast use the following method to adjust the Y offset:
53
53
54
54
```java
55
55
lt.setTranslationY(100); // y offset in pixels
@@ -61,6 +61,13 @@ You can also change the colors of the different toast elements:
0 commit comments