title: how to setImage at right side Textview Programatically
body: <p>i can set image textview rightside using xml attribute like</p>
  
  <pre><code>                 &lt;TextView
                      android:id="@+id/txtarrow1"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:drawableRight="@drawable/arrow"
                      android:gravity="right"
                      android:onClick="VideoClick"
                      android:padding="5dip"
                      android:textColor="#feb4e7" &gt;
                  &lt;/TextView&gt;
  </code></pre>
  
  <p>i want to set </p>
  
  <pre><code>android:drawableRight="@drawable/arrow"
  </code></pre>
  
  <p>programatically
  like</p>
  
  <pre><code>txtarrow1.setBackgroundResource(R.drawable.arrow_blue);
  </code></pre>
  
  <p>but this one is not working</p>