im new to programming.. i'm building an app with a about 18 buttons.. after clicking the button it takes me to a new activity..
the new activity layout is the same for all the buttons but i want to change the text (title and text).
e.g. activity1 is a list of buttons of football clubs (Barcelona, Madrid,...etc). once clicked it will take you to activity 2 which displays the information about the club (text).
Must i create an activity for each of all 18 buttons? (imagine if each button has a few more buttons and that will multiply to over 50 activities and all the classes asociated with them)
Is there a way i can code my target page to use the same layout but just pull different stings of text which corresponds to the button?
Appreciate all the help.. thanks allot!