title: Images not displayed in Tab host
body: <p>In my application using Tab host activity and set the tab with pictures. While the application run on emulator the image are displayed without any problem. But it's not displayed while i run the application on mobile(Micromax mobile). </p>
  
  <p>Please tell me what's the problem and How to resolve it.</p>
  
  <p>Tab Host Codings:</p>
  
  <pre><code>        Intent intent = new Intent(this, WeekActivity.class);
  
      tabHost.addTab(tabHost
              .newTabSpec("Week")
              .setIndicator("Weekly", res.getDrawable(R.drawable.ic_tab_main))
              .setContent(intent));
  
      Intent intent2 = new Intent(this,ListMonthActivity.class);
      tabHost.addTab(tabHost
              .newTabSpec("Month")
              .setIndicator("Monthly", res.getDrawable(R.drawable.ic_tab_setup))
              .setContent(intent2));
      tabHost.setCurrentTab(0);
  
      Intent intent3 = new Intent(this, ListYearActivity.class);
      TabHost.TabSpec spec=tabHost.newTabSpec("Year").setIndicator("Yearly",getResources().getDrawable(R.drawable.ic_launcher)).setContent(intent3);
      tabHost.addTab(spec);
  
      /*tabHost.addTab(tabHost
              .newTabSpec("Year")
              .setIndicator("Yearly", res.getDrawable(R.drawable.ic_tab_setup))
              .setContent(intent3));
      tabHost.setCurrentTab(0);*/
  
      // Set tabs Colors
      tabHost.setBackgroundColor(Color.BLACK);
      tabHost.getTabWidget().setBackgroundColor(Color.BLACK);
     }
  </code></pre>
  
  <h2>Selector tab host Xml file</h2>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
     &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;!-- When selected, use grey --&gt;
   &lt;item android:drawable="@drawable/calendaricon"
        android:state_selected="true"/&gt;
    &lt;!-- When not selected, use white--&gt;
    &lt;item android:drawable="@drawable/calendaricon2" /&gt;
   &lt;/selector&gt;
  </code></pre>
  
  <h2>Tabhost layout XML file:</h2>
  
  <pre><code>   &lt;?xml version="1.0" encoding="utf-8"?&gt;
     &lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@android:id/tabhost" android:layout_width="fill_parent"
  android:layout_height="fill_parent"&gt;
  &lt;LinearLayout android:orientation="vertical"
      android:layout_width="fill_parent" android:layout_height="fill_parent"
      android:padding="0dp"
      &gt;
      &lt;TabWidget android:id="@android:id/tabs"
          android:layout_width="fill_parent" android:layout_height="wrap_content"
          /&gt;
      &lt;FrameLayout android:id="@android:id/tabcontent"
          android:layout_width="fill_parent" android:layout_height="fill_parent"
          /&gt;
  
  &lt;/LinearLayout&gt;
     &lt;/TabHost&gt;
  </code></pre>