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
  • 97
  • 1
  • 11

3 Answers3

1

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

Link 1

Link2

Sunisha Guptan
  • 1,555
  • 17
  • 44
0

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

gprathour
  • 14,813
  • 5
  • 66
  • 90
Nimisha V
  • 461
  • 4
  • 12
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??