title: How to fix error on background in android?
body: <p>i want to set background of linearlayout with repeating image. 
   i have 2 files. </p>
  
  <p><strong>main_bg.xml</strong></p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;bitmap xmlns:android="http://schemas.android.com/apk/res/android"
      android:src="@drawable/bg"
      android:tileMode="repeat" /&gt;
  </code></pre>
  
  <p>and <strong>main.xml</strong></p>
  
  <pre><code>&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/main_bg"
      &gt;
  </code></pre>
  
  <p>and i've bg.png image on folder drawable. <br>
  But Eclipse says there's an error <br>
  <strong>error: Error: No resource found that matches the given name (at 'background' with value '@drawable/main_bg').</strong>   </p>
  
  <p>How to fix it? </p>