I am developing an android app with 9 or 10 activities, and for every activity I want to make a home button that takes the user to the main screen of the app! Some suggestions for how could i do that?
Asked
Active
Viewed 401 times
1 Answers
0
Create a single XML file for that button and include it in all of your activity layouts. For more details: Simple example of <merge> and <include> usage in Android XML-layouts