title: Set foreground to imageview
body: <p>I set foreground to my imageview to select when it has been selected. This works fine in android 6 version. On select nothing changes in min versions. Please help me.</p>
  
  <pre><code>&lt;ImageView
          android:id="@+id/style_list_item_image_view"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center"
          android:adjustViewBounds="true"
          android:foreground="@drawable/style_item_selector"
          android:scaleType="center"
          android:drawSelectorOnTop="true"
          android:clipChildren="true"
          android:clipToPadding="true"/&gt;
  </code></pre>
  
  <p>style_item_selector.xml</p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:state_selected="true"&gt;
          &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt;
              &lt;size android:width="60dp" android:height="80dp" /&gt;
              &lt;stroke android:width="1dp" android:color="#ff3591" /&gt;
              &lt;solid android:color="@color/transparent100" /&gt;
              &lt;corners android:radius="1dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/selector&gt;
  </code></pre>