0

want this kind of layout which change according to the button pressed(multiple display in one activity). dont want a navigation bar which is for all activities.

if you are not understanding what i am saying: what i am doing: making a set of questions(mcq type) user give ans to each question and submit it(submit button is on the last question)

Sumit Yadav
  • 87
  • 1
  • 9

3 Answers3

1

In this example creating a tab layout to show different screen for each tab.

Link 1

Link2

Sunisha Sindhu
  • 1,395
  • 13
  • 37
0

I think this will help you. Use fragment to change layout dynamically.

gprathour
  • 14,313
  • 5
  • 60
  • 89
Nimisha V
  • 441
  • 4
  • 11
0

Use Fragments for this kind of Functionality.Check this link..it would be helpful for your Requirement. How to replace a Fragment on button click of that fragment??