Easy shadow making around ImageView

If you want a realistic, nice shadow around an image in an ImageView you might configure it with the following layout:

Source with shadow image: Stackoverflow.com

Note This solution works best with fitXY scaleType, it does not apply to aspect corrected images. (it can be done with custom Drawable object)

Leave a Reply