mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-15 08:51:36 +00:00
Redesigned the BottomNavigationView for better clarity + to match the Material Guidelines
This commit is contained in:
parent
db7141c506
commit
0d9db83dc3
10 changed files with 60 additions and 35 deletions
|
|
@ -394,7 +394,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
|
|||
if (!TextUtils.isEmpty(defaultTabResNameString)) {
|
||||
navId = getResources().getIdentifier(defaultTabResNameString, "navigation", getPackageName());
|
||||
}
|
||||
final int defaultNavId = navId <= 0 ? R.navigation.profile_nav_graph
|
||||
final int defaultNavId = navId <= 0 ? R.navigation.feed_nav_graph
|
||||
: navId;
|
||||
final int index = mainNavList.indexOf(defaultNavId);
|
||||
if (index >= 0) firstFragmentGraphIndex = index;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue