several things on stackoverflow, and a reference to this issue

http://code.google.com/p/android/issues/detail?id=13092

not sure if it applies to your case, but it seems like it might be.
Weird that it was working before.

On Mon, May 23, 2011 at 6:04 AM, MartinM <martinandj...@gmail.com> wrote:
> I've moved a working project from one PC running Galileo to a new PC
> running Helios. If I go to the Graphical tab of Main.xml I get the
> following error:
>
> Error during post inflation process:
> TabHost requires a TabWidget with id "android:id/tabs".
> View found with id 'tabs' is 'com.android.layoutlib.bridge.MockView'
> The following classes could not be found:
> - TabWidget
>
>
> XML below:
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>    android:orientation="vertical"
>    android:layout_width="fill_parent"
>    android:layout_height="fill_parent">
>    <TabHost android:id="@+id/tabhost"
>         android:layout_width="fill_parent"
>         android:layout_height="fill_parent">
>         <TabWidget android:id="@android:id/tabs"
>             android:layout_width="fill_parent"
>             android:layout_height="wrap_content">
>         </TabWidget>
>         <FrameLayout android:id="@android:id/tabcontent"
>              android:layout_width="fill_parent"
>              android:layout_height="fill_parent"
>              android:paddingTop="60px" >
>
>              <LinearLayout android:layout_height="wrap_content"
> android:orientation="vertical" android:layout_width="fill_parent"
> android:id="@+id/layCharts"><LinearLayout android:id="@+id/
> LinearLayout03" android:layout_height="wrap_content"
> android:layout_width="fill_parent"><Button
> android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:onClick="btnGetChartListClick" android:id="@+id/
> btnGetChartList" android:text="Valid Charts"></Button><Button
> android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:id="@+id/btnGetCharts"
> android:onClick="btnGetChartsClick" android:text="Get Charts"></
> Button></LinearLayout><ScrollView android:layout_width="fill_parent"
> android:fillViewport="true" android:isScrollContainer="false"
> android:scrollbarAlwaysDrawHorizontalTrack="true"
> android:scrollbarAlwaysDrawVerticalTrack="true"
> android:scrollbars="horizontal|vertical" android:visibility="visible"
> android:layout_height="fill_parent" android:id="@+id/
> layChart"><TableLayout android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:id="@+id/tblChart"></
> TableLayout>
>                </ScrollView></LinearLayout><LinearLayout
> android:layout_height="wrap_content" android:orientation="vertical"
> android:id="@+id/layOpmet"
> android:layout_width="fill_parent"><ImageView
> android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:id="@+id/imgChart"></
> ImageView><LinearLayout android:id="@+id/LinearLayout01"
> android:layout_height="wrap_content" android:orientation="horizontal"
> android:layout_width="fill_parent"><EditText
> android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:text=" "
> android:minWidth="55px" android:id="@+id/edtICAO1"></EditText><Button
> android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:text="Brief!"
> android:id="@+id/btnBrief1" android:onClick="btnBriefClick"></
> Button><Button android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:id="@+id/btnHome1"
> android:text="Home" android:clickable="true"
> android:onClick="btnHomeClick"></Button></LinearLayout><TextView
> android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:text="Metar :"
> android:id="@+id/txtMetar"></TextView><TextView
> android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:text="TAF :" android:id="@
> +id/txtTAF"></TextView></LinearLayout>
> <LinearLayout android:layout_height="wrap_content"
> android:layout_width="fill_parent" android:id="@+id/layNotam"
> android:orientation="vertical"><LinearLayout android:id="@+id/
> LinearLayout02" android:layout_height="wrap_content"
> android:orientation="horizontal"
> android:layout_width="fill_parent"><EditText
> android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:id="@+id/edtICAO"
> android:text=" " android:minWidth="55px"></EditText><Button
> android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:text="Brief!"
> android:id="@+id/btnBrief" android:onClick="btnBriefClick"></
> Button><Button android:layout_width="wrap_content"
> android:layout_height="wrap_content" android:id="@+id/btnHome"
> android:text="Home" android:clickable="true"
> android:onClick="btnHomeClick"></Button></
> LinearLayout>
>                <ScrollView android:layout_width="fill_parent"
> android:fillViewport="true" android:isScrollContainer="false"
> android:scrollbarAlwaysDrawHorizontalTrack="true"
> android:scrollbarAlwaysDrawVerticalTrack="true"
> android:scrollbars="horizontal|vertical" android:visibility="visible"
> android:layout_height="fill_parent" android:id="@+id/scrNotam">
>                  <TextView android:id="@+id/txtNotam"
> android:text="NOTAM :"  android:layout_height="fill_parent"
> android:layout_width="fill_parent" ></TextView>
>                </ScrollView></LinearLayout>
>         </FrameLayout>
>     </TabHost>
> </LinearLayout>
>
>
>
>
>
>
> Any ideas?
>
> Ta,
>
> Martin.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to