Skip to content

Commit

Permalink
prevent from double click on FAB
Browse files Browse the repository at this point in the history
layout visibility gone when accidentally double click on fab
  • Loading branch information
samigehi committed Mar 10, 2016
1 parent 11954e9 commit 26269e7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ public void onAnimationEnd(final Animator animation) {
}

public void expandFab() {
if (mAnimatingFab)
return;

mFabType = FAB_EXPAND;

if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
Expand Down

0 comments on commit 26269e7

Please sign in to comment.