Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexliusheng/animsidebar
- Owner: AlexLiuSheng
- Created: 2016-05-13T09:13:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-16T08:44:46.000Z (about 5 years ago)
- Last Synced: 2024-01-14T20:19:28.381Z (12 months ago)
- Topics: android, anim, animsidebar, cool, sidebar, siderbar, wave
- Language: Java
- Homepage:
- Size: 1.29 MB
- Stars: 239
- Watchers: 9
- Forks: 27
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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
```