Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
/ bottomnav Public archive

Custom implementation of the Android bottom navigation

License

Notifications You must be signed in to change notification settings

AlexanderEggers/bottomnav

Repository files navigation

BottomNav

Download

BottomNav is a custom implementation of the Android bottom navigation. The final result of this library will be to copy the bottom navigation behavior and layout of the current Youtube app.

Download

repositories {
  jcenter()
}

dependencies {
  implementation 'org.bottomnav:BottomNav:1.0.0-beta1'
}

How do I use BottomNav? (Step-by-step introduction for 1.0.0-beta1)

Simple example (more coming soon):

<org.bottomnav.BottomNavMenu
      style="@style/CustomBottomNavStyle"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      app:color="@color/colorAccent"
      app:textSize="12sp"
      app:setItems="@{activity.items}"
      app:setOnClickItem="@{activity.listener}" />

Status

Version 1.0.0 is still in development.

Comments/bugs/questions/pull requests are always welcome!

Compatibility

  • Minimum Android SDK: BottomNav requires a minimum API level of 16.

TODO

  • Allow Inject of own item layout
  • Tweaking default base/item layout
  • Documentation (source code)

Author

Alexander Eggers - @mordag on GitHub

License

Apache 2.0. See the LICENSE file for details.