mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-15 19:27:31 +00:00
Show post view toasts near the views
This commit is contained in:
parent
30257a953f
commit
027d2c634a
@ -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…
Reference in New Issue
Block a user