In iOS we can add subviews to UINavigationController view which will always stay visible across the application and do not slide with the views when they are pushed/popped.
I am trying to accomplish the same thing in Android but cannot see a way to do this. I’ve seen solutions like adding the view to every Activity but that does not give me the result I want.
What I am trying to do is to add an image for the footer which always is on the bottom across the application and does not slide with the activities when they are transitioned.
Modern Android navigation approach is based on using
Fragmentsinside a single hostActivity. This gives you the possibility to use theActivityas a container for multipleFragments. UsuallyFragmentswill take allActivityspace, but in your case you can leave some place for views that should remain visible during the whole application lifecycle and use remaining space as the container forFragments. Hope the idea is clear.