Android - How to add footer from xml layout to a custom activity to display it in all activities? -


i want create custom activity display footer activities extend it. have created xml layout called footer.xml how add custom activity ?

public class customactivity extends activity {     @override     protected void oncreate(bundle savedinstancestate)     {         super.oncreate(savedinstancestate);         //what should add footer there ?     } }    

include footer.xml in other activities above other items in layout. or create main activity, hold footer.xml , view, added fragments (replace activities fragments)


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - WPF+EF - The operation cannot be completed because the DbContext has been disposed -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -