Need help with AnimSideBar?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

AlexLiuSheng
218 Stars 25 Forks 21 Commits 1 Opened issues

Description

A SiderBar base on Android that has a beautiful anim

Services available

!
?

Need anything else?

Contributors list

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.