{"id":21335413,"url":"https://github.com/alexliusheng/animsidebar","last_synced_at":"2025-10-14T09:09:13.085Z","repository":{"id":48663963,"uuid":"58722083","full_name":"AlexLiuSheng/AnimSideBar","owner":"AlexLiuSheng","description":"A SiderBar base on Android that has a beautiful anim","archived":false,"fork":false,"pushed_at":"2019-12-16T08:44:46.000Z","size":1353,"stargazers_count":239,"open_issues_count":2,"forks_count":27,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-01-14T20:19:28.381Z","etag":null,"topics":["android","anim","animsidebar","cool","sidebar","siderbar","wave"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexLiuSheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-13T09:13:33.000Z","updated_at":"2023-09-23T00:21:09.000Z","dependencies_parsed_at":"2022-09-17T11:02:09.668Z","dependency_job_id":null,"html_url":"https://github.com/AlexLiuSheng/AnimSideBar","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLiuSheng%2FAnimSideBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLiuSheng%2FAnimSideBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLiuSheng%2FAnimSideBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLiuSheng%2FAnimSideBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexLiuSheng","download_url":"https://codeload.github.com/AlexLiuSheng/AnimSideBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225820249,"owners_count":17529139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","anim","animsidebar","cool","sidebar","siderbar","wave"],"created_at":"2024-11-21T23:45:15.468Z","updated_at":"2025-10-14T09:09:12.982Z","avatar_url":"https://github.com/AlexLiuSheng.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AnimSideBar\nA SiderBar base on Android that has a wave anim\n# update in 19/12/16\nimplementation this widget in a new way.\n## effect\n\u003cimg style=\"width:300px;\" src=\"https://github.com/AlexLiuSheng/AnimSideBar/blob/master/ui/ui2.gif\"/\u003e\u003cimg style=\"width:300px;\" src=\"https://github.com/AlexLiuSheng/AnimSideBar/blob/master/ui/ui1.gif\"/\u003e\n\n## use\n### include:\n```\n\tdependencies {\n\t       implementation 'com.github.AlexLiuSheng:AnimSideBar:1.0.0'\n\t}\n```\nalternatively,you can include it just copy the code into your project.\n\n### use\nto use,you should write like this in your layout  \n```\n  \u003ccom.allenliu.sidebar.SideBar\n    android:layout_alignParentRight=\"true\"\n    android:textColor=\"@color/colorAccent\"\n    android:textSize=\"12sp\"\n    android:paddingRight=\"10dp\"\n    android:layout_width=\"wrap_content\"\n    android:id=\"@+id/bar\"\n    android:layout_height=\"match_parent\" /\u003e\n ```\n\nafter this ,you can add a setOnStrSelectCallBack,like this\n\n    bar.setOnStrSelectCallBack(new ISideBarSelectCallBack() {\n            @Override\n            public void onSelectStr(int index, String selectStr) {\n                Toast.makeText(SideBarDemoActivity.this,selectStr,Toast.LENGTH_SHORT).show();\n            }\n        });\n        \n        \nthere are some other methods to apply:\n     \n```\n        \u003cattr name=\"fontScale\" format=\"float\" /\u003e   //text Font scale  when scrolling ,defalut :1\n        \u003cattr name=\"bigTextSize\" format=\"float\" /\u003e // the big text size ,default is 3 times than text size\n        \u003cattr name=\"openCount\" format=\"integer\" /\u003e  //the parabola opening size ,defalut 13,\n        \u003cattr name=\"A\" format=\"integer\" /\u003e   // the size of amplitude,defalut is 100dp\n        \u003cattr name=\"gapBetweenText\" format=\"integer\" /\u003e // the distance between BigText and peak,defalut is 50dp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexliusheng%2Fanimsidebar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexliusheng%2Fanimsidebar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexliusheng%2Fanimsidebar/lists"}