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:
- Title Header (Two
buttons
,ImageView
) - Content Area- It will differ among Activities (contains ListView, Tabs, Buttons, TextView, WebView....)
- Footer Layout (
Relative Layout
with threeImagebuttons
)
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