Wave animation is not working
See original GitHub issueHello, 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);
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Confirmed! The 1.1.0 version is working right now.
Thanks @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