Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saiwu-bigkoo/Android-SnappingStepper
A beautiful UI control with flexible control of the number of changes.
https://github.com/saiwu-bigkoo/Android-SnappingStepper
Last synced: 2 months ago
JSON representation
A beautiful UI control with flexible control of the number of changes.
- Host: GitHub
- URL: https://github.com/saiwu-bigkoo/Android-SnappingStepper
- Owner: saiwu-bigkoo
- Created: 2016-01-18T08:32:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-19T05:33:53.000Z (almost 8 years ago)
- Last Synced: 2024-08-02T01:24:30.020Z (6 months ago)
- Language: Java
- Size: 156 KB
- Stars: 270
- Watchers: 10
- Forks: 58
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-android-ui - Android-SnappingStepper - 漂亮的增减数字控制UI控件 (StepView)
README
[![Android Gems](http://www.android-gems.com/badge/saiwu-bigkoo/Android-SnappingStepper.svg?branch=master)](http://www.android-gems.com/lib/saiwu-bigkoo/Android-SnappingStepper)
# Android-SnappingStepper
一种漂亮的UI控件,能更灵活的控制数字的增减。
对应的iOS版 [SnappingStepper](https://github.com/yannickl/SnappingStepper)#### 使用说明
支持两种模式:setMode方法(Mode.AUTO是默认的在滑动条上有数值显示,Mode.CUSTOM是自定义文字配合setText函数)
代码和xml预配置两种方式都可,更多自定义属性和样式参考demo。#### 使用gradle 依赖:
```java
compile 'com.bigkoo:snappingstepper:1.0.2'
```## Demo 图片
![](https://github.com/saiwu-bigkoo/Android-SnappingStepper/blob/master/preview/snappingstepperdemo.gif)>## 更新说明
>v1.0.0
- 基础功能>v1.0.1
- 增加xml设置步长、按钮图片、按钮资源、内容背景、内容字体、控件背景
- 修改默认的快速改变触发间隔时间
- 添加修改后demo>v1.0.2
- 支持ListView,加入ListView的demo演示