title: Android, (newbie) different res imagebuttons
body: <p>I have made the same image button in 36x36,48x48,72x72 and 96x96 and put them in the drawable-ldpi,drawable-mdpi,drawable-hdpi directories.</p>
  
  <p>I then created a layout and plonked my image button there.</p>
  
  <p>(I am using Eclipse)</p>
  
  <p>in the top left of the screen you can pick the screen size, so I picked 2.7 inches and then cycled right up till 10.1 inches...and every time my image button size changed.</p>
  
  <p>So my question is, do I need to have a different xml layout file for each screen size?</p>
  
  <p>Thanks!</p>
  
  <p>EDIT XML:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" android:background="@drawable/background_ass"&gt;
      &lt;TableLayout android:id="@+id/tableLayout1" android:layout_height="wrap_content" android:layout_width="fill_parent"&gt;
          &lt;TableRow android:id="@+id/tableRow1" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;
              &lt;ImageButton android:src="@drawable/level1" 
                  android:id="@+id/imageButton1" 
                  android:onClick="button_clicked1"
                  android:background="#00000000"  android:layout_width="48dip" android:layout_height="48dip"&gt;
              &lt;/ImageButton&gt;
          &lt;/TableRow&gt;
          &lt;TableRow android:id="@+id/tableRow2" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;
              &lt;TextView android:text="TextView" android:id="@+id/textView1" 
              android:layout_width="wrap_content" 
              android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
          &lt;/TableRow&gt;
          &lt;TableRow android:id="@+id/tableRow3" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;
          &lt;/TableRow&gt;
          &lt;TableRow android:id="@+id/tableRow4" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/TableRow&gt;
      &lt;/TableLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>