Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alexliusheng/animsidebar

A SiderBar base on Android that has a beautiful anim
https://github.com/alexliusheng/animsidebar

android anim animsidebar cool sidebar siderbar wave

Last synced: about 1 month ago
JSON representation

A SiderBar base on Android that has a beautiful anim

Awesome Lists containing this project

README

        

# AnimSideBar
A SiderBar base on Android that has a wave anim
# update in 19/12/16
implementation this widget in a new way.
## effect

## use
### include:
```
dependencies {
implementation 'com.github.AlexLiuSheng:AnimSideBar:1.0.0'
}
```
alternatively,you can include it just copy the code into your project.

### use
to use,you should write like this in your layout
```

```

after this ,you can add a setOnStrSelectCallBack,like this

bar.setOnStrSelectCallBack(new ISideBarSelectCallBack() {
@Override
public void onSelectStr(int index, String selectStr) {
Toast.makeText(SideBarDemoActivity.this,selectStr,Toast.LENGTH_SHORT).show();
}
});


there are some other methods to apply:

```
//text Font scale when scrolling ,defalut :1
// the big text size ,default is 3 times than text size
//the parabola opening size ,defalut 13,
// the size of amplitude,defalut is 100dp
// the distance between BigText and peak,defalut is 50dp
```