Users Pricing

forum

home / developersection / forums / display a toast message in the top of the page in my android application

Display a Toast message in the top of the page in my android application

Anonymous User 2600 23 Jan 2015

I m using the following line to make a Toast message displayed in my android application

Toast.makeText(InitActivity.this, InitActivity.this.getResources().getString(R.string.invalid_pin_code), Toast.LENGTH_SHORT).show();

But this message is displayed in the bootom of the page.

And I want to display it below an EditText in my page.

How to make that?


I am a content writter !


1 Answers