[Solved] display plain text page in android [duplicate]


First:-

Create one layout in which you show your desired buttons.
Set setOnClickListener on Buttons.

Second:-

Create different Layouts for every button click Page results.
Like you have 5 buttons then create 5 Layout containing TextViews.

Third:-

set Intent call on every Button.
Put this code on every Button click Intent calling method.

Intent intent= new Intent(Firstactivity.this,secondactivity.class);
startActivity(intent);

7

solved display plain text page in android [duplicate]