Android-SpinKit icon indicating copy to clipboard operation
Android-SpinKit copied to clipboard

Wave animation is not working

Open imarindam opened this issue 6 years ago • 6 comments

Hello, Thank you for these awesome Spin Kits. I was using Wave. But this is not animating as the wave. Please take a look at this screenshot. https://ibb.co/jR6Mpo

My XML:

<com.github.ybq.android.spinkit.SpinKitView android:id="@+id/progressBar" style="@style/SpinKitView.Wave" xmlns:app="http://schemas.android.com/apk/res-auto" app:SpinKit_Color="@color/red" app:SpinKit_Style="Wave" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/inputsearchenglishhome" android:layout_marginTop="65dp" android:visibility="visible" />

My Java:

private ProgressBar progressBar; progressBar = (ProgressBar) rootView.findViewById(R.id.progressBar); Wave wave = new Wave(); progressBar.setIndeterminateDrawable(wave);

imarindam avatar Jun 24 '18 12:06 imarindam

Can you tell me your device info and the version of spinkit you are using

ybq avatar Jun 24 '18 15:06 ybq

I have tried this app on One Plus One Running Android O and Redmi Note 4 Android 7.0. Both with the same problem. I've implemented this in my Gradle implementation 'com.github.ybq:Android-SpinKit:1.0.5'

imarindam avatar Jun 24 '18 15:06 imarindam

@ybq My build.gradle setup is as follows: minSdkVersion 21 targetSdkVersion 27

Any tip to make it work?

imarindam avatar Jun 29 '18 13:06 imarindam

@imarindam try with version 1.1.0 instead of 1.0.5

javichaques avatar Jul 03 '18 13:07 javichaques

Same issues on newer gradle with 26+.

Almost all the animations is not animated as expected. Try a new project with latest target.

minSdkVersion 21 targetSdkVersion 27

libern avatar Jul 15 '18 18:07 libern

Confirmed! The 1.1.0 version is working right now.

Thanks @javichaques

libern avatar Jul 15 '18 18:07 libern