mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-11-21 05:16:31 +00:00
Show post view toasts near the views
This commit is contained in:
parent
30257a953f
commit
027d2c634a
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ public final class Utils {
|
||||||
final Toast toast = Toast.makeText(context, text, Toast.LENGTH_SHORT);
|
final Toast toast = Toast.makeText(context, text, Toast.LENGTH_SHORT);
|
||||||
toast.setGravity(Gravity.TOP | Gravity.START,
|
toast.setGravity(Gravity.TOP | Gravity.START,
|
||||||
view.getLeft(),
|
view.getLeft(),
|
||||||
view.getTop() - view.getHeight() - 4);
|
view.getTop());
|
||||||
toast.show();
|
toast.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue