Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/iammert/ReadableBottomBar

Yet another material bottom bar library for Android
https://github.com/iammert/ReadableBottomBar

android bar bottom bottombar kotlin layout material tab view

Last synced: 15 days ago
JSON representation

Yet another material bottom bar library for Android

Lists

README

        

# ReadableBottomBar
Yet another material bottom bar library for Android

## GIF

## Design Credits
All design and inspiration credits goes to [Ranjit](https://www.uplabs.com/posts/readable-tab-bar-concept).

## Usage

* Create your tabs.xml under your res/xml/ folder
```xml

```
* Add bottom bar to your layout
```xml

```
* Add listener
```kotlin
bottomBar.setOnItemSelectListener( object :ReadableBottomBar.ItemSelectListener{
override fun onItemSelected(index: Int) {
}
})
```

* Set index at runtime
```kotlin
bottomBar.selectItem(index)
```
* Customize if you need
```xml

```

## Setup
```gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}

dependencies {
implementation 'com.github.iammert:ReadableBottomBar:0.2'
}
```

License
--------

Copyright 2019 Mert Şimşek

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.