It is possible to specify the position of a Toast?

NullPointerException picture NullPointerException · Dec 18, 2010 · Viewed 7.6k times · Source

Possible Duplicate:
how to change position of Toast in android?

I have to show a Toast, when the user presses a Button, but I want to show it a little more down on the screen.

How can I do this?

This is the code of my Toast:

Toast.makeText(getApplicationContext(),
getString(R.string.emailregisternotentered),
Toast.LENGTH_SHORT).show();

Solved:

Toast toast= Toast.makeText(getApplicationContext(), 
getString(R.string.emailregisternotentered), Toast.LENGTH_SHORT);  
//Toast.makeText(getApplicationContext(), getString(R.string.emailregisternotentered),
//Toast.LENGTH_SHORT).show();
toast.setGravity(Gravity.BOTTOM, 0, 0);
toast.show();