Skip to content

Sometimes the progress bar stay shown #82

@drindt

Description

@drindt

I'm using the following setup:

        <fr.castorflex.android.smoothprogressbar.SmoothProgressBar
            android:id="@+id/progress_bar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom"
            app:spb_colors="@array/progress_color_table"
            app:spb_mirror_mode="false"
            app:spb_progressiveStart_speed="1.5"
            app:spb_progressiveStop_speed="3.5"
            app:spb_reversed="false"
            app:spb_sections_count="5"
            app:spb_speed="2.0"
            app:spb_stroke_separator_length="2dp"
            app:spb_stroke_width="4dp" />

Programmatically i simply show and hide the bar like this:

        if (visible) {
            progress.progressiveStart();
        } else {
            progress.progressiveStop();
        }

But under some circumstances the bar stays visible on the right side with a few pixels. Would be good what i can adjust to fix that behaviour.

Thank you very much,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions