I'm developing an educational application (with several java exercises and explanations) for Android, but I have a question: the application becomes very cumbersome if I create an activity (with an XML file) by exercise or screen with explanations, is not it? How would I solve this problem? In this case, my app would have several types of exercises, such as exercises in which the user marks the correct answer, selects the correct block of code or even writes a line of code needed for the question.
Is there any way to use the same screen (XML) / exercise model for a specific type of exercise? Type, use a screen template to answer all the ticking questions, and another template for another type of exercise?
Q: I already have Java experience, however I started working with Android now.