Is it possible to combine both the navigation drawer and bottom navigation bar at same activity in android? I am able to use them on separate activities but am facing difficulties while combining them in a single activity.
Related
What's the best way to implement navigation using single activity architecture and Jetpack navigation for an application with complex navigation that involves some different navigation strategies. For example:
Main application navigation using bottom navigation
In some of the bottom tabs fragments you can access some detail action that has its own navigation. For example, a detail view implemented:
as a full-screen fragment
without the bottom bar
with a top header with two tabs.
What's the best way to combine the main navigation with the two tabs from the detail view, or in general, more nested strategies. It's better to use several navigation files or can be implemented using only one?
I'm trying to create a collapsible side bar with buttons. Is there another alternative to NavigationDrawer, or is that the best choice for this design? I've also noticed Navigation Drawer doesn't have a thumbnail button that you can click to expand it.
What I'm trying to create:
I'm wondering if I should combine the material design Bottom Navigation and the Navigation Drawer.
As is understand there is always one item active in the Bottom Navigation Bar, but what if I choose to navigate to a page using the Navigation Drawer menu? How do I preserve navigation consistency.? The Bottom Navigation item will still be active even if I navigated to a different activity/fragment.
I was thinking about setting all Bottom Navigation items to inactive in case a user navigates using the Navigation Drawer.
Unfortunately, the lib I'm using (https://github.com/pocheshire/BottomNavigationBar) doesn't support this.
How does the Bottom Nav Bar coexist with the Navigation Drawer? What am I missing here?
Looking at the design guidelines, it's pretty clear that the navigation drawer is at a higher z-level (hence higher hierarchy). Think of bottom navigation as essentially a replacement for tab layouts. You can look at the Google Photos application as an example.
I've been searching for how to implement Navigation Drawer to my android application. All the tutorial i saw were using Frame Layout in main activity. Is it necessary to use Frame Layout in Navigation Drawer?
I want to display a completely different actionbar that is within a navigation drawer. Here is an example from the app Flow:
you can see that on the right is the app with a different actionbar than that of the navigation drawer's. How could something like this be replicated?