Android - Can display a single Activity using two layout.xml files?

Posted by Avadhani on Stack Overflow See other posts from Stack Overflow or by Avadhani
Published on 2012-12-07T11:02:18Z Indexed on 2012/12/07 11:03 UTC
Read the original article Hit count: 201

I had developed Android app having some screens with common UI format.

The format in top-down approach is:

  1. Title Header (Two buttons, ImageView)
  2. Content Area- It will differ among Activities (contains ListView, Tabs, Buttons, TextView, WebView....)
  3. 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....

© Stack Overflow or respective owner

Related posts about java

Related posts about android