title: resize gif animation in android
body: <p>I want to resize a gif animation so that 1 of my button fit on the screen. I am using WebView for gif animation. When I am inserting a image button it is not getting displayed. Please Help.</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="schemas.android.com/apk/res/android"; xmlns:tools="schemas.android.com/tools"; 
      android:layout_width="match_parent" 
      android:layout_height="match_parent" 
      tools:context=".Activity_B" &gt; 
  
      &lt;ImageButton android:id="@+id/imageButton1" 
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content" 
          android:layout_alignParentRight="true" 
          android:layout_alignParentTop="true" 
          android:src="@drawable/back" /&gt; 
  
  &lt;/RelativeLayout&gt;
  </code></pre>