Skip to content

Commit

Permalink
fix the overlay effect problem on Android-L
Browse files Browse the repository at this point in the history
  • Loading branch information
pedant committed Oct 30, 2014
1 parent d1f9eb9 commit 0ae177d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cn/pedant/SweetAlert/widget/SweetAlertDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ public SweetAlertDialog setConfirmClickListener (OnSweetClickListener listener)
}

protected void onStart() {
getWindow().getDecorView().getBackground().setAlpha(255);
mDialogView.startAnimation(mModalInAnim);
playAnimation();
}
Expand Down

0 comments on commit 0ae177d

Please sign in to comment.