Create curve bottom navigation using this library

Overview

Curve Bottom Bar

Demo 1 Demo 2

Download

Add it to your build.gradle with:

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

and:

dependencies {
	        implementation 'com.github.Akshay-Katariya:CurveBottomBar:1.0'
	}

Usage

<com.akshay.library.CurveBottomBar
            android:id="@+id/curveBottomBar"
            android:layout_width="match_parent"
            android:layout_height="56dp"
            app:itemIconTint="@color/grey"
            android:layout_gravity="bottom"
            app:bottomBarColor="@color/yellow"
            app:curveRadius="25dp"/>

Customization options

app:bottomBarColor="@color/yellow"
app:curveRadius="25dp"

You can even set values at runtime:

private CurveBottomBar cbb;

cbb = findViewById(R.id.customBottomBar);

cbb.setBottomBarColor(getResources().getColor(R.color.yellow));
cbb.setCurveRadius(52);

License

Copyright 2018 Akshay Katariya

   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.

Credit & Inspired by IslamBesto

You might also like...
This repository provides a simple clicker app using `KSharedDataStorage` to save progress

kds-android-example This repository provides a simple clicker app using KSharedDataStorage to save progress For progress saving used KSharedDataStorag

A sample Grocery Store app built using the Room, MVVM, Live Data, Rx Java, Dependency Injection (Kotlin Injection) and support Dark Mode
A sample Grocery Store app built using the Room, MVVM, Live Data, Rx Java, Dependency Injection (Kotlin Injection) and support Dark Mode

Apps Intro A sample Grocery Store app built using the Room, MVVM, Live Data, Rx Java, Dependency Injection (Kotlin Injection) and support Dark Mode In

Check out the new style for App Design aims for the Vegetable Order Service using jetpack compose...😉😀😁😎
Check out the new style for App Design aims for the Vegetable Order Service using jetpack compose...😉😀😁😎

VegetableOrderUI-Android Check out the new style for App Design aims for the Vegetable Order Service using jetpack compose... 😉 😀 😁 😎 Screenshots

A simple app demonstrates using Jetpack compose with other Jetpack libraries.
A simple app demonstrates using Jetpack compose with other Jetpack libraries.

Android Pokemon Compose This repository is a simple app that make request to https://pokeapi.co and display them in the paginated lists. It demonstrat

A demo application that uses TMDB APIs to fetch the movie details and cache it using the Room DB.
A demo application that uses TMDB APIs to fetch the movie details and cache it using the Room DB.

TMDB App Tmdb sample project is a demo application that is based on modern Android architectures. It will fetch the data from the network and cache it

🧸 A demo Disney app using Jetpack Compose and Hilt based on modern Android tech stacks and MVVM architecture.
🧸 A demo Disney app using Jetpack Compose and Hilt based on modern Android tech stacks and MVVM architecture.

DisneyCompose A demo Disney app using compose and Hilt based on modern Android tech-stacks and MVVM architecture. Fetching data from the network and i

A demo app to show how to detect screenshots taken by the user while using the app
A demo app to show how to detect screenshots taken by the user while using the app

Screenshot Detector A demo app to show how to detect screenshots taken by the user while using the app. Blog link Detect Screenshots in Android Screen

This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉

Android-CICD This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉 Getting Started We are

A sample project managing the dependencies using Gradle version catalog

playground-gradle-bom-dep-manage A sample project managing the dependencies using Gradle version catalog. Pros/Cons Comparison with dependency managem

Comments
  • Elevation not working?

    Elevation not working?

    Thanks for the library. android:elevation or app:elevation not working with it. The requirement for that is because the color background of the layout is white and same color of curve bottom bar too.

    opened by malikbilal1997 0
Releases(1.0)
Owner
Mobile Application Developer Native Android (Java/Kotlin) React-Native
null
A demonstration modern Android development project with Jetpack(Compose, Room, Flow, ViewModel, Navigation), Hilt and based on MVVM by using Github API.

A demonstration modern Android development project with Jetpack(Compose, Room, ViewModel, Navigation), Hilt and based on MVVM by using Github API.

Murat 2 Apr 11, 2022
Android sample app following best practices: Kotlin, Compose, Coroutines and Flow, Hilt, JetPack Navigation, ViewModel, MVVM and MVI, Retrofit, Coil

Foodies - Modern Android Architecture Foodies is a sample project that presents a modern 2021 approach to Android app development. The project tries t

null 362 Jan 2, 2023
A demonstration on how to Create Multiple ViewType RecyclerView

Multiple_View_Recyclerview The app fetches a damy data from an API to display on different view on Clients side A demonstration on how to Create Multi

Mohamed Dekow 1 Nov 18, 2021
Viacheslav Veselov 0 Jul 8, 2022
Basic example of using ItemTouchHelper to add drag & drop and swipe-to-dismiss to RecyclerView.

Another drag and swipe library? This project is an example of basic drag & drop and swipe-to-dismiss with RecyclerView using ItemTouchHelper. It corre

Paul Burke 2.5k Dec 24, 2022
📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.

Android Components Architecture in a Modular Word Android Components Architecture in a Modular Word is a sample project that presents modern, 2020 app

Madalin Valceleanu 2.3k Dec 30, 2022
This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shadows etc...

Android L preview example Description This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shad

Saul Molinero 165 Nov 10, 2022
This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shadows etc...

Android L preview example Description This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shad

Saul Molinero 165 Nov 10, 2022
Demo app to showcase Sensor data using AIDL bound services.

AIDLServices Displays data related to TYPE_ROTATION_VECTOR sensor using AIDL Consist of aidlsdk module that expose sensor data Sample app to show the

Vikas Mane 3 May 26, 2021
A sample app showing how to build an app using the MVI architecture pattern.

MVI Example This application was streamed live on Twitch to demonstrate how to build an application using MVI. You can find the VOD here for now: http

Adam McNeilly 46 Jan 2, 2023