title: Why is eclipse highlighting R.id.tabhost?
body: <p>I'm trying to implement a tabs into my app, but id tabhost is being highlighted, why?</p>
  
  <p>Every tutorial I look at has <em>TabHost tabs=(TabHost)findViewById(R.id.tabhost)</em>, and everytime I include this line id tabhost is hightlighted, with error: <strong>tabhost cannot be resolved or is not a field</strong>.</p>
  
  <p><strong>recipe_list.java:</strong></p>
  
  <pre><code>    TabHost tabs=(TabHost)findViewById(R.id.tabhost);
  
  tabs.setup();
  
  TabHost.TabSpec spec=tabs.newTabSpec("tag1");
  
  spec.setContent(R.id.tab1);
  spec.setIndicator("Clock");
  tabs.addTab(spec);
  
  spec=tabs.newTabSpec("tag2");
  spec.setContent(R.id.tab2);
  spec.setIndicator("Button");
  tabs.addTab(spec);
  </code></pre>
  
  <hr>
  
  <p><strong>recipe_list.xml</strong>, I have list views in every tab:</p>
  
  <pre><code>   &lt;TabHost
      android:id="@android:id/tabhost"
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical" &gt;
  
          &lt;TabWidget
              android:id="@android:id/tabs"
              android:layout_width="match_parent"
              android:layout_height="wrap_content" &gt;
          &lt;/TabWidget&gt;
  
          &lt;FrameLayout
              android:id="@android:id/tabcontent"
              android:layout_width="match_parent"
              android:layout_height="match_parent" &gt;
  
              &lt;LinearLayout
                  android:id="@+id/tab1"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent" &gt;
  
                  &lt;ListView
                      android:id="@+id/listView1"
                      android:layout_width="match_parent"
                      android:layout_height="fill_parent"
                      android:layout_weight="1" &gt;
                  &lt;/ListView&gt;
  
              &lt;/LinearLayout&gt;
  
              &lt;LinearLayout
                  android:id="@+id/tab2"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent" &gt;
  
                  &lt;ListView
                      android:id="@+id/listView2"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_weight="1" &gt;
                  &lt;/ListView&gt;
  
              &lt;/LinearLayout&gt;
  
              &lt;LinearLayout
                  android:id="@+id/tab3"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent" &gt;
              &lt;/LinearLayout&gt;
          &lt;/FrameLayout&gt;
      &lt;/LinearLayout&gt;
  &lt;/TabHost&gt;
  </code></pre>