stepper-indicator icon indicating copy to clipboard operation
stepper-indicator copied to clipboard

custom done icon

Open roshan1895 opened this issue 5 years ago • 1 comments

I want to show white color indicator circle and green color done icon ,but problem is that this library has only white color done icon and when i use custom drawable file for done icon then icon is coming at the top left of that indicator circle like--

Screenshot_1553577478

    <com.badoualy.stepperindicator.StepperIndicator
        android:id="@+id/indicator"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:stpi_indicatorColor="#fff"
        app:stpi_lineDoneColor="#fff"
        app:stpi_circleColor="#d3d3d3"
        app:stpi_lineColor="#d3d3d3"
        app:stpi_showDoneIcon="true"
        app:stpi_showStepNumberInstead="true"
        app:stpi_doneIconDrawable="@drawable/ic_check_black_24dp"//here i am using vector drawable because it doesn't render png image


        app:stpi_stepCount="3" />

please help me

roshan1895 avatar Mar 26 '19 05:03 roshan1895

@roshan1895 adjust your drawable by using stpi_circleRadius attribute to change button size.

SohailZahidGit avatar Sep 17 '19 10:09 SohailZahidGit