skyfishjy / android-ripple-background

A beautiful ripple animation for your app
MIT License
2.26k stars 579 forks source link

RippleAnimation not working on Release mode #13

Closed cortez87 closed 8 years ago

cortez87 commented 9 years ago

I just added this RippleAnimation on my project and everythinh was working just fine until I changed from debug to release mode. In the code nothing has changed about this Ripple library, I am using this way:

<com.skyfishjy.library.RippleBackground
    android:layout_width="150dp"
    android:layout_height="150dp"
    android:id="@+id/ripple_effect"
    app:rb_color="#336633"
    app:rb_radius="20dp"
    app:rb_rippleAmount="3"
    app:rb_duration="3000"
    app:rb_scale="3">

    <Button
        android:id="@+id/viewButton"
        android:layout_width="50dp"
        android:layout_height="50dp"
        android:text="+"
        android:textSize="30sp"
        android:textColor="@android:color/white"/>

</com.skyfishjy.library.RippleBackground>

Do I need to change anything on release mode? On release mode, this button is blinking randomly but keeps dissapeared if it is not touched

skyfishjy commented 8 years ago

No need