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
Post a Comment