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.
repositories {
jcenter()
}
dependencies {
implementation 'org.bottomnav:BottomNav: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}" />
Version 1.0.0 is still in development.
Comments/bugs/questions/pull requests are always welcome!
- Minimum Android SDK: BottomNav requires a minimum API level of 16.
- Allow Inject of own item layout
- Tweaking default base/item layout
- Documentation (source code)
Alexander Eggers - @mordag on GitHub
Apache 2.0. See the LICENSE file for details.