Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

how to change next step circle color #45

Closed
NasarIqbal opened this issue Apr 23, 2019 · 2 comments
Closed

how to change next step circle color #45

NasarIqbal opened this issue Apr 23, 2019 · 2 comments
Assignees

Comments

@NasarIqbal
Copy link

NasarIqbal commented Apr 23, 2019

I working on a design in which I need a different color for select and done circles ... I can set value for done circle but ... unfortunately could not find attribute to set the color for next circle. how do I do that ... here is my current setting

<com.shuhart.stepview.StepView
android:id="@+id/step_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:layout_marginTop="130dp"
android:background="@android:color/transparent"
app:sv_selectedCircleColor="@color/colorPrimary"
app:sv_selectedTextColor="@android:color/white"
app:sv_stepLineWidth="5dp"
android:layout_gravity="center_vertical"
app:sv_stepPadding="0dp"
app:sv_nextTextColor="@android:color/black"
app:sv_nextStepLineColor="@color/colorLightRed"
app:sv_doneCircleColor="@color/colorPrimary"
app:sv_doneStepLineColor="@color/colorPrimary"
app:sv_doneTextColor="@color/colorPrimary"
app:sv_doneCircleRadius="12dp"
app:sv_selectedCircleRadius="12dp"
app:sv_selectedStepNumberColor="@color/colorAccent"
app:sv_stepViewStyle="@style/StepView"
app:sv_doneStepMarkColor="@android:color/white"
app:sv_stepNumberTextSize="12sp"
app:sv_animationType="All"
app:sv_typeface="@font/sfuitextmedium"/>

@shuhart
Copy link
Owner

shuhart commented Apr 27, 2019

What you want is not supported by this library. I know that there is a Material Design component for mentioned requirements here https://material.io/archive/guidelines/components/steppers.html#steppers-types-of-steps but in order to implement this I have to sit and rewrite couple of things. For now, I don't have enough spare time for this.

@shuhart shuhart closed this as completed Apr 27, 2019
@shuhart shuhart reopened this Apr 27, 2019
@shuhart shuhart self-assigned this Apr 27, 2019
@shuhart
Copy link
Owner

shuhart commented May 15, 2019

Support for this is added in 1.5.0. Check the Readme (bottom of it) to find out how to use it.

@shuhart shuhart closed this as completed May 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants