All Projects → fishwjy → BottomNavigationBar

fishwjy / BottomNavigationBar

Licence: Apache-2.0 license
A light bottom navigation bar in Android supporting Tint mode.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to BottomNavigationBar

Bubble Navigation
🎉 [Android Library] A light-weight library to easily make beautiful Navigation Bar with ton of 🎨 customization option.
Stars: ✭ 1,537 (+3102.08%)
Mutual labels:  bottom-navigation, bottomnavigationview, navigationbar, bottomnavigation
BottomNavArchDemo
The demo project for Bottom Navigation with Navigation Architecture Components article
Stars: ✭ 53 (+10.42%)
Mutual labels:  bottom-navigation, bottomnavigationview, bottomnavigation
IRBottomNavigationView
Floating Bottom Navigation/Tab System
Stars: ✭ 48 (+0%)
Mutual labels:  bottomnavigationview, navigationbar
bottom-navigation
Example of Android BottomNavigationView
Stars: ✭ 104 (+116.67%)
Mutual labels:  bottomnavigationview, bottomnavigation
BottomNavigation-RichPath-Sample
BottomNavigation RichPath Sample
Stars: ✭ 76 (+58.33%)
Mutual labels:  bottom-navigation, bottomnavigationview
BottomNavigationCircularColorReveal
Build a BottomNavigationView with a circular color reveal animation like in Material Design guidelines demos.
Stars: ✭ 24 (-50%)
Mutual labels:  bottomnavigationview
bottomnavigationviewex-android-binding
Xamarin.Android Binding Library for Ittianyu BottomNavigationViewEx
Stars: ✭ 25 (-47.92%)
Mutual labels:  bottomnavigationview
BetterBottomBar
Fork of the BottomNavigationView from the design lib to allow for view state, accessibility and colorful animations
Stars: ✭ 33 (-31.25%)
Mutual labels:  bottomnavigationview
Motion-Tab-Bar
A beautiful animated flutter widget package library. The tab bar will attempt to use your current theme out of the box, however you may want to theme it.
Stars: ✭ 237 (+393.75%)
Mutual labels:  bottomnavigationview
RRNavigationBar
bring UINavigationBar to UIViewController.
Stars: ✭ 11 (-77.08%)
Mutual labels:  navigationbar
Bottombar
(Deprecated) A custom view component that mimics the new Material Design Bottom Navigation pattern.
Stars: ✭ 8,459 (+17522.92%)
Mutual labels:  bottom-navigation
Bottomnavigationviewex
An android lib for enhancing BottomNavigationView. 一个增强BottomNavigationView的安卓库。
Stars: ✭ 3,259 (+6689.58%)
Mutual labels:  bottomnavigationview
BottomNavygation
Bottom Navigation based on Bottom Navigation View from Android
Stars: ✭ 62 (+29.17%)
Mutual labels:  bottomnavigationview
drawer-with-bottom-navigation-architecture
Sample android kotlin project with both drawer and bottom navigation together
Stars: ✭ 42 (-12.5%)
Mutual labels:  bottom-navigation
BottomNavigationView
Bottom Navigation Example
Stars: ✭ 15 (-68.75%)
Mutual labels:  bottomnavigationview
flutter-bottomAppBar
Watch the tutorial video on Youtube ->
Stars: ✭ 15 (-68.75%)
Mutual labels:  bottomnavigationview
Material-BottomBarLayout
🎉A material navigation bar library which has pretty animations and different ways of arrangement.
Stars: ✭ 56 (+16.67%)
Mutual labels:  bottom-navigation
AHCategoryView
A navigation view for categories
Stars: ✭ 29 (-39.58%)
Mutual labels:  navigationbar
Cicerone
🚦 Cicerone is a lightweight library that makes the navigation in an Android app easy.
Stars: ✭ 2,345 (+4785.42%)
Mutual labels:  bottom-navigation
BottomBar-Xamarin-Forms
Sample Xamarin Forms app showing Bottom NavBar for Android
Stars: ✭ 21 (-56.25%)
Mutual labels:  bottom-navigation

BottomNavigationBar

Download API

A light bottom navigation bar in Android supporting Tint mode.

Please star this library if you like it. :)

Demo

Demo Demo1

Usage

1.Import to your project

compile 'com.vincent.bottomnavigationbar:bottomnavigationbar:latestVersion' 

2.Get BottomNavigationBar from XML

BottomNavigationBar bnb = (BottomNavigationBar) findViewById(R.id.bnb_default);

3.New BottomItem

Tint Mode: 
BottomItem item = new BottomItem();
item.setText("Bag");
item.setIconResID(getResources().getIdentifier("ic_tint_bag", "drawable", mPackageName));
bnb.addItem(item);

Drawable Mode:
BottomItem item = new BottomItem();
item.setMode(BottomItem.DRAWABLE_MODE);
item.setText("Camera");
item.setActiveIconResID(getResources().getIdentifier("ic_drawable_camera_fill", "drawable",
        getApplicationInfo().packageName));
item.setInactiveIconResID(getResources().getIdentifier("ic_drawable_camera", "drawable",
        getApplicationInfo().packageName));
item.setActiveTextColor(Color.parseColor("#E64B4E"));
bnb.addItem(item);

3.Init BottomNavigationBar

bnb.addOnSelectedListener(new BottomNavigationBar.OnSelectedListener() {
    @Override
    public void OnSelected(int oldPosition, int newPosition) {
        //ToDo: Do anything you want, transforming fragment etc.
    }
});
bnb.setSelectedPosition(2); //Set default item
bnb.initialize();

Thanks

Badge View provide by BadgeView

License

Copyright 2016 Vincent Woo

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].