android - How to show tabs on whole application on bottom of screen -


hy, working on android application.i have more hundred activities.i using custom tab bars , showing single activity on each tab.but want show 4 basic tabs below activities , tabs should visible whole application. how it. me please

use <include include layout file containing this.

  1. <include layout="@layout/your_custom_bottom_layout" />
  2. your_custom_bottom_layout file contains android.support.design.widget.bottomnavigationview
  3. put java related code in kind of baseactivity, extend activity of activity. so, contain common code across whole app.

Comments