Android activity Background affects alertDialog?

If so, you can blur what's in the background with the following code: dialog.getWindow(). AddFlags(WindowManager.LayoutParams. FLAG_BLUR_BEHIND) Or are you saying that the background of your activity is being applied to the background of your dialog...?

If so, you can blur what's in the background with the following code: dialog.getWindow(). AddFlags(WindowManager.LayoutParams. FLAG_BLUR_BEHIND); Or are you saying that the background of your activity is being applied to the background of your dialog...?

Here is a pic of that: imageshack. Us/photo/my-images/718/colorbx. Png Don't be confused by the yellow color, this is the style I want the dialog to have.

THe problem is the green color from the calling activity is destroying it – Barak mitz Aug 18 at 14:46 for you question, it is not a blur I need. The background of the activity is being applied to the dialog. – Barak mitz Aug 18 at 14:52 Have you set theme so all window bg are same?

– userSeven7s Aug 18 at 15:46 no each one is defined by the manifest with the theme I want – Barak mitz Aug 18 at 20:35 and what theme are you using for the dialog? – Matt K Aug 18 at 20:38.

I managed to fix that, well not entirley but to pass around it. Instead of using: #000099 I used IMAGE_NAME and I added a green rectangle image at the "drawable" folder. This makes the background to become from an image instead of painting it, and the image does not affect the Dailog.It will look a bit different (for example it will cover the white border as well) but it is better then before.

This makes the background to become from an image instead of painting it, and the image does not affect the Dailog. It will look a bit different (for example it will cover the white border as well) but it is better then before.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions