Reputation: 97
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)
Upvotes: 0
Views: 53
Reputation: 95
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??
Upvotes: 0
Reputation: 469
I think this will help you. Use fragment to change layout dynamically.
Upvotes: 0
Reputation: 1605
In this example creating a tab layout to show different screen for each tab.
Upvotes: 1