layout - android - using a button action muliple time allover the app -
in app trying implement design of facebook homepage.
i have 7 different activities in app. 7 activities buttons in title(application bar) , footer part same , same actions.
now question is, whether have create separate 7 layouts 7 activities , have write same button actions in each activity or can written once , can used in 7 activities ?
if can used writing once, how pls suggest me best way ?
you should create header , footer xml files separately
and use "<include other layout>" android layout
to include header , footer on each screen.
let me clear if doubt have done this, easy.
also can check this thread
Comments
Post a Comment