title: Set ripple effect on Image View
body: <p>Got the following Image View:</p>
  
  <pre><code>&lt;ImageView
      android:id="@+id/header"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      android:scaleType="centerCrop"
      app:layout_collapseMode="parallax" 
      android:clickable="true"
      android:focusable="true"
      android:background="?android:attr/selectableItemBackground"/&gt;
  </code></pre>
  
  <p>Ripple works great if I don't set a bitmap to the image view. But once I set a bitmap like this, ripple effect is gone:</p>
  
  <pre><code>ImageView iv=((ImageView)rootView.findViewById(R.id.header));
  iv.setImageBitmap(myBitmap);
  </code></pre>
  
  <p>This is my ripple.xml:</p>
  
  <pre><code>&lt;ripple xmlns:android="http://schemas.android.com/apk/res/android" 
                    android:color="?android:colorControlHighlight"&gt;
      &lt;item android:id="@android:id/mask"&gt;
          &lt;shape android:shape="oval"&gt;
              &lt;solid android:color="?android:colorAccent" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/ripple&gt;
  </code></pre>
  
  <p>I guess that the bitmap hides the ripple effect, how can I make it visible? Already tried:</p>
  
  <ol>
  <li>Changing android:background to android:foreground, which didn't work.</li>
  <li>Configuring another transparent ImageView on top of this one, but since it was transparent ripple wasn't shown.</li>
  </ol>
  
  <p>Any ideas? I've seen Lollipop Contacts made this as well.</p>