I'd like to ask if there is any way to position a Toast to a specific location on the screen?
I know about gravity, but it is not enough. I've tried to set margins but it doesn't work.
Using java Syntax Highlighting
- Toast toast = Toast.makeText(MyActivity.this, "Hi", Toast.LENGTH_SHORT);
- toast.setGravity(Gravity.TOP);
- toast.setMargin(50, 20);
- toast.show();
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
Any help will be appreciated.
Corem.


