java - Changing color of the border of the background of a list item -
    i going through this tutorial  , had idea of making when press button, 1 of cards borders changes color.   i looked @ this solution , nothing happens.   here have done:   i have xml in drawable shape (feed_item.xml):   <?xml version="1.0" encoding="utf-8"?>  <layer-list xmlns:android="http://schemas.android.com/apk/res/android">     <!-- bottom 2dp shadow -->     <item>         <shape  android:shape="rectangle">              <solid android:color="#d8d8d8" />             <corners android:radius="7dp" />          </shape>     </item>     <!-- white top color -->     <item android:bottom="3px" android:id="@+id/feedsquare">         <shape             xmlns:android="http://schemas.android.com/apk/res/android"             android:shape="rectangle">             <!-- view background color -->             <solid ...