I am designing several screens (activities) for an app - each of which have a some non-common units (like picture, textbox, etc) and repeating units of a common layout X (X consists of a textbox, icons for favourite and comment number, with number of comments, a picture of the contributor).
In HTML/CSS there is an easy way to do this modular design by having a div tag for the unit X. How do you do such an aggregation of different units in android so that I can change the style at one single place. As of now, I am laying out each screen, and the sub-units of each unit in those screens separately
Thanks much