在xml中Tabhost、TabWidget、FrameLayout的Id都是系统默认生成那种,如下:
 <TabHost
        android:id="@android:id/tabhost"
        。。
 <TabWidget
                android:id="@android:id/tabs"
       。。
<FrameLayout
                android:id="@android:id/tabcontent"
       。。但是activity中调用findViewById()方法却调用不到ID
                findViewById(R.id.tabhost);
findViewById(R.id.tabs);
findViewById(R.id.tabcontent);======》》飘红!
求大神!!Android