Good day
Is it possible to use only one xml layout and one activity to show all other interfaces.
For example am creating an app that will have thirty(30) layouts of different content, instead of
creating thirty(30) xml layouts and activities for each one can i use one xml layout and one
activity to display the remaining 29 and each of those contents, whenever a user request for
the particular page.
Regards
Using one xml layout and one activity for others
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Abhijeet SinghRank #415 · 6K reputationPosted Mar 28, 2015, 8:22 PM EDT
Yes, You can make only one xml layout for 30 or more different layouts. But you must use visibility very carefully.
JOHN JOHNNNYRank #9,451 · 206 reputationPosted Mar 29, 2015, 7:24 AM EDT