I want to create a toast that is anchored to a View (i.e., appears next a to given View).
I’ve tried
toast.setGravity(0, (int)v.getX(), (int)v.getY());
but this creates it in an entire location entirely.
If it matters, my view is an element in a TableRow.
Thanks
EDIT: I can’t use PopupWindow for this task.
I think this Tutorial will help you to achieve what you want: