A different BottomNavigationView that you could find in all android apps
Switch branches/tags
Nothing to show
Clone or download
Latest commit 5a48f3a Oct 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea refacto Jul 31, 2018
app refacto Jul 31, 2018
enhanced-navigationview initial import Jul 30, 2018
gradle initial import Jul 30, 2018
medias refacto Jul 31, 2018
.gitignore Initial commit Jul 30, 2018
LICENSE Initial commit Jul 30, 2018
README.md Update README.md Oct 1, 2018
build.gradle initial import Jul 30, 2018
gradle.properties initial import Jul 30, 2018
gradlew initial import Jul 30, 2018
gradlew.bat initial import Jul 30, 2018
publish.sh initial import Jul 30, 2018
settings.gradle initial import Jul 30, 2018

README.md

Enhanced NavigationView

CircleCI Language

screen

Usage

Download

dependencies {
    implementation 'com.github.florent37:enhanced-navigationview:(lastest version)'
}

EnhancedNavigationView extends google BottomNavigationView

look at https://developer.android.com/reference/com/google/android/material/bottomnavigation/BottomNavigationView

screen

<com.github.florent37.enhancednavigationview.EnhancedNavigationView
            android:id="@+id/bottom_navigation"
            android:layout_width="match_parent"
            android:layout_height="60dp"
            android:background="@color/colorBottomBar"
            app:elevation="0dp"
            app:itemIconTint="@color/nav_item_state_list"
            app:itemTextColor="@color/nav_item_state_list"
            app:menu="@menu/bottom_navigation_items" />

RoundRect shape of the bottom bar is providen by ShapeOfView

https://github.com/florent37/ShapeOfView

screen

dependencies {
    implementation 'com.github.florent37:shapeofview:1.2.0'
}
<com.github.florent37.shapeofview.shapes.RoundRectView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="8dp"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp"
        android:elevation="12dp"
        
        app:shape_roundRect_bottomLeftRadius="22dp"
        app:shape_roundRect_bottomRightRadius="22dp"
        app:shape_roundRect_topLeftRadius="8dp"
        app:shape_roundRect_topRightRadius="8dp">


        <com.github.florent37.enhancednavigationview.EnhancedNavigationView
            android:id="@+id/bottom_navigation"
            android:layout_width="match_parent"
            android:layout_height="60dp"
            android:background="@color/colorBottomBar"
            app:elevation="0dp"
            app:itemIconTint="@color/nav_item_state_list"
            app:itemTextColor="@color/nav_item_state_list"
            app:menu="@menu/bottom_navigation_items" />
</com.github.florent37.shapeofview.shapes.RoundRectView>

How to Contribute

We welcome your contributions to this project.

The best way to submit a patch is to send us a pull request.

To report a specific problem or feature request, open a new issue on Github.

Credits

Author: Florent Champigny http://www.florentchampigny.com/

Blog : http://www.tutos-android-france.com/

Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/

Android app on Google Play Follow me on Google+ Follow me on Twitter Follow me on LinkedIn

License

Copyright 2018 florent37, Inc.

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.