ybq / Android-SpinKit

Android loading animations
https://ybq.github.io/Android-SpinKit
MIT License
8.61k stars 1.31k forks source link

Dont show animation #20

Open alesanfer opened 7 years ago

alesanfer commented 7 years ago

Hi there, Dont show animation on the Android 4.3 API 18 (Samsung Galaxy S3)

styles.xml

`

<style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="colorPrimary">#ffffff</item>
    <item name="colorPrimaryDark">#FF581C0D</item>
    <item name="colorAccent">#ffffff</item>
   <item name="homeAsUpIndicator">@drawable/ic_home_white_24dp</item>
    <item name="windowActionBar">false</item>
    <item name="windowNoTitle">true</item>

</style>

<style name="AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

<style name="PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />

`

in layout.xml <com.github.ybq.android.spinkit.SpinKitView xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/spin_kit2" style="@style/SpinKitView.Large.ThreeBounce" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" app:SpinKit_Color="#ffffff" android:layout_alignParentBottom="true" android:layout_marginBottom="30dp" android:layout_centerInParent="true" />