StepView
StepView for android
Install / Use
/learn @msdx/StepViewREADME
StepView
StepView is a step indicator like this:

How to use
Gradle dependency
Make sure jcenter was declared in your root build.gradle file:
repositories {
jcenter()
}
Then add this dependency, modify the version to the latest version.
dependencies {
compile 'com.githang:stepview:0.1'
}
Layout Code
<com.githang.stepview.StepView
android:id="@+id/step_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/white"
android:paddingBottom="8dp"
android:paddingTop="8dp"/>
Java Code
mStepView = (StepView) findViewById(R.id.step_view);
List<String> steps = Arrays.asList(new String[]{"输入手机", "验证手机", "设置密码", "注册成功"});
mStepView.setSteps(steps);
Support attributes:
You can use these attributes to custom the StepView:
<attr name="svCircleColor" format="color"/>
<attr name="svTextColor" format="color"/>
<attr name="svSelectedColor" format="color"/>
<attr name="svFillRadius" format="dimension"/>
<attr name="svStrokeWidth" format="dimension"/>
<attr name="svLineWidth" format="dimension"/>
<attr name="svTextSize" format="dimension"/>
<attr name="svDrawablePadding" format="dimension"/>
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
