• Stars
    star
    329
  • Rank 124,354 (Top 3 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created almost 6 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fluid Bottom Navigation library for Android

Fluid Bottom Navigation Build Status Download library

Sample

Sample Fluid Bottom Navigation

Installation

Use the JitPack package repository.

Add jitpack.io repository to your root build.gradle file:

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

Next add library to your project build.gradle file: Gradle:

implementation 'com.github.10clouds:FluidBottomNavigation-android:{last_release_version}'

Usage

Place FluidBottomNavigation in your layout:

<com.tenclouds.fluidbottomnavigation.FluidBottomNavigation
            android:id="@+id/fluidBottomNavigation"
            android:layout_height="wrap_content"
            android:layout_width="0dp" />

then set navigation items to component:

fluidBottomNavigation.items =
                listOf(
                        FluidBottomNavigationItem(
                                getString(R.string.news),
                                ContextCompat.getDrawable(this, R.drawable.ic_news)),
                        FluidBottomNavigationItem(
                                getString(R.string.inbox),
                                ContextCompat.getDrawable(this, R.drawable.ic_inbox)),
                        FluidBottomNavigationItem(
                                getString(R.string.calendar),
                                ContextCompat.getDrawable(this, R.drawable.ic_calendar)),
                        FluidBottomNavigationItem(
                                getString(R.string.chat),
                                ContextCompat.getDrawable(this, R.drawable.ic_chat)),
                        FluidBottomNavigationItem(
                                getString(R.string.profile),
                                ContextCompat.getDrawable(this, R.drawable.ic_profile)))

Application with example is in app folder

Customization

You can customize component from XML layout file, using attributes:

app:accentColor="@color/accentColor"
app:backColor="@color/backColor"
app:iconColor="@color/iconColor"
app:iconSelectedColor="@color/iconSelectedColor"
app:textColor="@color/textColor"

or from Java/Kotlin code:

fluidBottomNavigation.accentColor = ContextCompat.getColor(this, R.color.accentColor)
fluidBottomNavigation.backColor = ContextCompat.getColor(this, R.color.backColor)
fluidBottomNavigation.textColor = ContextCompat.getColor(this, R.color.textColor)
fluidBottomNavigation.iconColor = ContextCompat.getColor(this, R.color.iconColor)
fluidBottomNavigation.iconSelectedColor = ContextCompat.getColor(this, R.color.iconSelectedColor)

Library made by Jakub Jodełka

More Repositories

1

FluidBottomNavigation-rn

Animated Tab Bar Component for React Native
JavaScript
193
star
2

aiconsole

An Open-Source Desktop AI Editor to Personalize Your Workflow
TypeScript
162
star
3

GaugeSeekBar

Kotlin
99
star
4

InifiniteRecyclerView

Library for implementing endless loading list easily in Android applications
Java
81
star
5

SwipeableTableViewCell-ios

Swift
59
star
6

FluidBottomNavigation-ios

Fluid Bottom Navigation library for iOS
Swift
48
star
7

SwipeableRecyclerViewCell-android

Kotlin
23
star
8

ParticlesRefreshLayout-android

Particles Refresh Layout library for Android
Kotlin
19
star
9

10Books

Elixir
16
star
10

10Minions

Your Army of GPT-4 Powered Coding Buddies (Boost Your Productivity)
16
star
11

ParticlePullToRefresh-iOS

Swift
10
star
12

acodemy-spotify

HTML
6
star
13

TagsView

Kotlin
5
star
14

wordpress-sanity-migration-tool

JavaScript
4
star
15

dj-crud

JavaScript
3
star
16

typescript-workshop

Workshop code for Code Europe 2017
JavaScript
3
star
17

10minions-engine

Core engine for automated code modification, includes command line interface
TypeScript
2
star
18

flutter-starter-generators

2
star
19

cyclejs-cookie

CycleJS Cookie Driver
JavaScript
2
star
20

10minions-vscode

Your Army of GPT-4 Powered Coding Buddies (Boost Your Productivity)
TypeScript
2
star
21

heartbeat-public

Heartbeat - experimental project using node.js and Polymer
HTML
1
star
22

10cDevops-Test

1
star
23

codepen

Public assets for the 10Clouds' pens at cloudpen.io
CSS
1
star
24

cottoncandy-react

Lightweight UI kit for React
JavaScript
1
star
25

generator-10gular

Yeoman generator for AngularJS by 10Clouds
JavaScript
1
star
26

django_langchain_accelerator

Python
1
star