title: Android How to change icon with button
body: <p>This is my XML  </p>
  
  <pre><code>&lt;Button
    android:id="@+id/w1"
    android:layout_width="0dp"
    android:layout_height="match_parent"
    android:layout_weight="1"
    android:background="@color/buttons_background"
    android:clickable="true"
    android:drawableRight="@drawable/icon_more"
    android:fontFamily="roboto medium"
    android:paddingLeft="30dp"
    android:paddingRight="30dp"
    android:text="@string/w1_btn_more"
    android:textColor="@color/text_color"
    android:textSize="17sp" /&gt;
  </code></pre>
  
  <p>How to change from icon_more to icon_next.</p>
  
  <p>Piece of code Java</p>
  
  <pre><code>Button w1 = (Button) view.findViewById(R.id.w1);
  w1.set("???");
  </code></pre>