StepBarView
一款流程步骤进度条
提供了上面两种方式的 Style,纯粹的练手项目,对 Maven 支持还没有支持到 Java 代码设置,感兴趣的建议下载查看 Demo,非常简单,注释齐全。
必须设置显示的文字数据,不设置肯定会崩溃,由于时间关系和 UI 的丑陋性,这里就不优化啦,啦啦啦
⊙开源不易,希望给个star或者fork奖励
https://github.com/nanchen2251/
⊙拥抱开源:( 点击图标即可加入 )
⊙交流群(拒绝无脑问):118116509 使用方法
Step 1. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.nanchen2251:StepBarView:1.1.0'
}
<com.nanchen.stepbarview.StepBarView
android:id="@+id/stepBarView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
app:step_bottom_name="@array/bottomNames"
app:step_check_number="1"
app:step_top_name="@array/topNames"/>
<com.nanchen.stepbarview.StepView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
app:check_num="2"
app:step_names="@array/stepNames"/>
关于作者
南尘
四川成都
其它开源
个人博客
简书
博客园
交流群:118116509
欢迎投稿(关注)我的唯一公众号,公众号搜索 nanchen 或者扫描下方二维码:
1024 - 梦想,永不止步!
爱编程 不爱Bug
爱加班 不爱黑眼圈
固执 但不偏执
疯狂 但不疯癫
生活里的菜鸟
工作中的大神
身怀宝藏,一心憧憬星辰大海
追求极致,目标始于高山之巅
一群怀揣好奇,梦想改变世界的孩子
一群追日逐浪,正在改变世界的极客
你们用最美的语言,诠释着科技的力量
你们用极速的创新,引领着时代的变迁
------至所有正在努力奋斗的程序猿们!加油!!
Licenses
Copyright 2018 nanchen(刘世麟)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.