Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always starts activated #92

Open
guness opened this issue Nov 19, 2016 · 5 comments
Open

Always starts activated #92

guness opened this issue Nov 19, 2016 · 5 comments

Comments

@guness
Copy link

guness commented Nov 19, 2016

Here is my configuration:

<style name="SVProgressBar" parent="SmoothProgressBar">
        <item name="spb_stroke_separator_length">12dp</item>
        <item name="spb_sections_count">2</item>
        <item name="spb_speed">1.2</item>
        <item name="spb_colors">@array/progressColors</item>
        <item name="spb_progressiveStart_speed">2</item>
        <item name="spb_progressiveStop_speed">4.4</item>
        <item name="spb_interpolator">spb_interpolator_acceleratedecelerate</item>
        <item name="spb_progressiveStart_activated">false</item>
    </style>
<fr.castorflex.android.smoothprogressbar.SmoothProgressBar
        android:id="@+id/progressBar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:indeterminate="true"
        app:layout_anchor="@+id/content_search" />

it always starts activated.
Device: android 7.1 emulator

@mehdi-sol
Copy link

I second this.

@castorflex
Copy link
Owner

Hello,
I don't really get what the issue is. Is it that the indeterminate progress always shows up? Or is it that the progressiveStart is always enabled?

@mehdi-sol
Copy link

Hey man.

Yes. I think it makes more sense for the indeterminate progress bar to be started explicitly.

@utsavmadaan1995
Copy link

Same problem when activity comes in foreground 1st time SmoothProgressBar is activated+visible hence i explicitly set it to progressiveStop in onCreate which results in ProgressiveStop is visible until progressiveStop ends on activity coming in foreground

@panmona
Copy link

panmona commented Mar 21, 2018

seems similar to #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants