This image is of alert box covering full screen with transparent orange background
Asked
Active
Viewed 135 times
1 Answers
0
you'd have to create it yourself. alerts can't be style.
Just make a div that displays when it's needed to, and disapears when they click yes/no...

Hazonko
- 1,025
- 1
- 15
- 30
-
no man.I have done it.It can be done through alert box properties – Vikram Singh Mar 29 '16 at 12:05
-
final Dialog dialog = new Dialog(mContext,android.R.style.Theme_DeviceDefault_Light_NoActionBar_Fullscreen); int width = ViewGroup.LayoutParams.FILL_PARENT; int height = ViewGroup.LayoutParams.FILL_PARENT; dialog.setContentView(R.layout.custom_alert_dialog); dialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT)); dialog.getWindow().setLayout(width, height); – Vikram Singh Mar 30 '16 at 12:30
-
so that would be a UI dialog, not an alert. perhaps you would have found the solution you were after if you worded your question better. – Hazonko Mar 30 '16 at 13:42