Android - Can display a single Activity using two layout.xml files?
- by Avadhani
I had developed Android app having some screens with common UI format.
The format in top-down approach is:
Title Header (Two buttons, ImageView)
Content Area- It will differ among Activities (contains ListView, Tabs, Buttons, TextView, WebView....)
Footer Layout (Relative Layout with three Imagebuttons)
I want to reformat the code in such a way that one xml contains Title Header and Footer Layout and other xml contains ListView,Tabs, Buttons.. based on the usage. Can i acheive this? Please help me with sample code/links....