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

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -