Repository navigation
Choose Navigation Style
Blueprint can show its sections in a bottom navigation bar (default) or in a side menu (drawer).
You choose in MainActivity.kt, inside your package folder. Change the class MainActivity extends, and its import:
| Style | Import | Class |
|---|---|---|
| Bottom bar (default) | import dev.jahir.blueprint.ui.activities.BottomNavigationBlueprintActivity |
BottomNavigationBlueprintActivity() |
| Side menu | import dev.jahir.blueprint.ui.activities.DrawerBlueprintActivity |
DrawerBlueprintActivity() |
For example, for the side menu:
import dev.jahir.blueprint.ui.activities.DrawerBlueprintActivity
class MainActivity : DrawerBlueprintActivity() {
// ...keep everything else as it is
}The bottom bar's labels can be customized in Customize Styles. The side menu's header can show your app name and version: see with_drawer_texts in Change Blueprint Settings.
Note
Would you like to help improve this wiki?
It is advised that you contribute to jahirfiquitiva/dashboards-wikis, which is the repository that holds the contents of this wiki. Please open an issue or a pull request in that repo instead.
Wiki by Jahir Fiquitiva, with contributions from Patryk Goworowski, Lumiq Creative and Jackson Hayes. Special thanks to Sanchith Hegde.
Licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.