Bugfix: on legacy devices, Views that are GONE are still clickable

This commit is contained in:
str4d
2015-01-05 04:29:43 +00:00
parent 06bf416f8a
commit 61c1fad9ba

View File

@@ -388,6 +388,7 @@ public abstract class ViewAddressFragment extends Fragment {
public void onAnimationEnd(Animator animation) {
ViewHelper.setAlpha(mAddressQrCode, 1f);
mExpandedQrCode.setVisibility(View.GONE);
mExpandedQrCode.setClickable(false);
mQrCodeAnimator = null;
}
@@ -395,6 +396,7 @@ public abstract class ViewAddressFragment extends Fragment {
public void onAnimationCancel(Animator animation) {
ViewHelper.setAlpha(mAddressQrCode, 1f);
mExpandedQrCode.setVisibility(View.GONE);
mExpandedQrCode.setClickable(false);
mQrCodeAnimator = null;
}
});