title: Fade ImageView edge to transparent
body: <p>I have an ImageView with a photo user selected from Gallery. It's on the bottom of the container and above it I have an EditText. Now, what I want to do is to fade the top edge to transparent (or white, doesn't matter, will look the same). Here's a preview:</p>
  
  <p><img src="https://i.stack.imgur.com/e6fkW.jpg" alt="preview"></p>
  
  <p>I achieved the result by placing another ImageView with a white-to-transparent gradient above the selected image but, well, it doesn't look good. Is there any way to fade the image from XML or Java? </p>