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.
<include layout="@layout/your_custom_bottom_layout" />
- your_custom_bottom_layout file contains
android.support.design.widget.bottomnavigationview
- put java related code in kind of
baseactivity
, extend activity of activity. so, contain common code across whole app.
Comments
Post a Comment