android 一款圆环形的选择器,支持叠加使用
2016-11-08 11:19
676 查看
CircleSeekbar
下载地址:https://github.com/feeeei/CircleSeekbaran android circle seekbar libraryquick start
1.Add root build.gradle
repositories { // ... maven { url "https://jitpack.io" } }
2.Add build.gradle
dependencies { compile 'com.github.feeeei:CircleSeekbar:v1.1.1' }
3.Added to the XML
<io.feeeei.circleseekbar.CircleSeekBar android:id="@+id/seekbar" android:layout_width="match_parent" android:layout_height="match_parent" app:wheel_max_process="100" />
attrs
<!-- process --> <attr name="wheel_max_process" format="integer" /> <attr name="wheel_cur_process" format="integer" /> <!-- reached style --> <attr name="wheel_reached_color" format="color" /> <attr name="wheel_reached_width" format="dimension" /> <!-- unReached style --> <attr name="wheel_unreached_color" format="color" /> <attr name="wheel_unreached_width" format="dimension" /> <!-- pointer style --> <attr name="wheel_pointer_color" format="color" /> <attr name="wheel_pointer_radius" format="dimension" /> <!--shadows style --> <attr name="wheel_has_pointer_shadow" format="boolean" /> <attr name="wheel_has_wheel_shadow" format="boolean" /> <attr name="wheel_pointer_shadow_radius" format="dimension" /> <attr name="wheel_shadow_radius" format="dimension" /> <!-- if you want to open the wheel shadow, open this can speed up the rendering speed --> <attr name="wheel_has_cache" format="boolean" /> <!-- if you want to block touchListener,use like processBar, only allow the code to control the schedule, you can change this attribute to false --> <attr name="wheel_can_touch" format="boolean" /> <attr name="wheel_scroll_only_one_circle" format="boolean" />
相关文章推荐
- Android中使用GridView分页显示系统所安装的应用,支持拖动与手势滑动
- Android中使用系统桌面背景作为应用背景,支持拖动
- android的selector,背景选择器的使用
- android游戏开发框架libgdx的使用(二十一)—使用TTF字库支持中文
- Android培训翻译_使用Android支持库
- Android的selector背景选择器使用
- Android中使用系统桌面背景作为应用背景,支持拖动
- Android中使用GridView分页显示系统所安装的应用,支持拖动与手势滑动
- Android中使用系统桌面背景作为应用背景,支持拖动
- 【cocos2d-x】如何使用Cocos2D-x制作一款简单的iphone&Android游戏①
- Android中使用系统桌面背景作为应用背景,支持拖动
- android背景选择器selector使用方法
- android中使用sqlite、复制assets下的数据库到SD卡、支持大于1M的文件
- Android中使用GridView分页显示系统所安装的应用,支持拖动与手势滑动
- Android美工坊--selector选择器的使用
- Android中使用GridView分页显示系统所安装的应用,支持拖动与手势滑动
- android中使用sqlite、复制assets下的数据库到SD卡、支持大于1M的文件
- android背景选择器selector使用方法
- Android美工坊:Selector选择器的使用
- 【cocos2d-x】如何使用Cocos2D-x制作一款简单的iphone&Android游戏②