title: Make ImageView have dark transparency
body: <p>I want to add the transparent black color on top of the image and make it darker.</p>
  
  <p><a href="https://i.stack.imgur.com/ZYG2C.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/ZYG2C.jpg" alt="enter image description here"></a></p>
  
  <pre><code>          &lt;RelativeLayout
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"&gt;
  
                  &lt;ImageView
                      android:id="@+id/rest_image"
                      android:layout_width="match_parent"
                      android:layout_height="150dp"
                      android:adjustViewBounds="true"
                      android:scaleType="centerCrop"
                      /&gt;
              &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I can set the alpha parameter but the color change is in white.
  I want to make the darker image like this.
  How can i do it in xml or Java code. I will set it based on condition.?</p>
  
  <p>Thanks.</p>