Skip to content

Commit

Permalink
corrected animation curves
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNKeR committed Aug 2, 2018
1 parent 973a4c2 commit 643df35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/bubbling.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
android:id="@+id/bubbler"
android:src="@drawable/blackpanther"
android:scaleType="centerCrop"
app:Diameter="200dp"
app:Diameter="180dp"
app:SRC_IN="true"
app:Ox="0"
app:Oy="0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import android.support.annotation.Nullable;
import android.support.v4.view.animation.FastOutSlowInInterpolator;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;

Expand Down Expand Up @@ -305,7 +306,7 @@ public void setOnclickListener(bubbleClickListener bubbleListener){

@Override
public void setOnClickListener(@Nullable OnClickListener l) {
if(pathClick==null)super.setOnClickListener(l);
if(pathClick!=null)super.setOnClickListener(l);
}

private class PantherEvaluator implements TypeEvaluator<BubblePanther> {
Expand Down

0 comments on commit 643df35

Please sign in to comment.