I'm trying to create a AlertDialog which will show an image in fullscreen. My problem is that the dialog does not fit the image. I could scale the image to fit the horizontal or vertical limit (depending on the screen oreintation) with some code that I found. However , the dialog shows an empty space that I want eliminate.I'm trying to create a AlertDialog which will s