diff --git a/apptentive/src/com/apptentive/android/sdk/module/rating/view/ApptentiveBaseDialog.java b/apptentive/src/com/apptentive/android/sdk/module/rating/view/ApptentiveBaseDialog.java index 439d3c8de..d47c0fbeb 100644 --- a/apptentive/src/com/apptentive/android/sdk/module/rating/view/ApptentiveBaseDialog.java +++ b/apptentive/src/com/apptentive/android/sdk/module/rating/view/ApptentiveBaseDialog.java @@ -8,7 +8,6 @@ import android.app.Dialog; import android.content.Context; -import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.view.Gravity; import android.view.ViewGroup; @@ -30,9 +29,7 @@ public ApptentiveBaseDialog(final Context context, int layout) { params.width = ViewGroup.LayoutParams.FILL_PARENT; params.height = ViewGroup.LayoutParams.FILL_PARENT; params.gravity = Gravity.CENTER; - params.dimAmount = 0.5f; getWindow().setAttributes(params); - getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); - getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); + getWindow().setBackgroundDrawable(new ColorDrawable(0x7F000000)); } }