M
M
mrgrigo2018-09-22 02:26:02
Java
mrgrigo, 2018-09-22 02:26:02

How can I add automatic header and footer output to an application?

Hello.
There is a certain theme: AppTheme with parent Theme.AppCompat.NoActionBar.
There are also:
1. Fragment footer.xml
2. Fragment header.xml
footer and header are assembled from other fragments (since footer is generally a sliding panel).
It is not enough to constantly place them in Layouts of activities.
Is it possible to:
a) create any "general" window templates automatically used in an Activity?
b) automatically add footer and header to Activity?
If both are possible, then what is preferable in terms of performance, so as not to rebuild the header and footer every time the Activity changes?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question