http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
2012/3/27 Marcelo Henrique <marceloh...@gmail.com> > code java ? > > > 2012/3/27 med Mehdi bettaieb <medmehdi.betta...@gmail.com> > >> hello >> i have problem in this file xml please help me >> > Could not create tab content because could not find view with id -1 >> >> this is my code xml >> >> <?xml version="1.0" encoding="utf-8"?> >> <TabHost xmlns:android="http://schemas.android.com/apk/res/android" >> android:id="@+id/tabs" android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <LinearLayout android:orientation="vertical" >> <?xml version="1.0" encoding="utf-8"?> >> <TabHost xmlns:android="http://schemas.android.com/apk/res/android" >> android:id="@+id/tabs" android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <LinearLayout android:orientation="vertical" >> 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" /> >> <FrameLayout android:id="@android:id/tabcontent" >> android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <ScrollView android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <include android:id="@+id/content1" >> layout="@layout/tab_today" /> >> </ScrollView> >> <ScrollView android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <include android:id="@+id/content2" >> layout="@layout/tab_qibla" /> >> </ScrollView> >> </FrameLayout> >> </LinearLayout> >> </TabHost><?xml version="1.0" encoding="utf-8"?> >> <TabHost xmlns:android="http://schemas.android.com/apk/res/android" >> android:id="@+id/tabs" android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <LinearLayout android:orientation="vertical" >> 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" /> >> <FrameLayout android:id="@android:id/tabcontent" >> android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <ScrollView android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <include android:id="@+id/content1" >> layout="@layout/tab_today" /> >> </ScrollView> >> <ScrollView android:layout_width="fill_parent" >> android:layout_height="wrap_content"> >> <include android:id="@+id/content2" >> layout="@layout/tab_qibla" /> >> </ScrollView> >> </FrameLayout> >> </LinearLayout> >> </TabHost> >> >> -- >> 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 > > > > > -- > - Marcelo Henrique - > "Se não puder se destacar pelo talento, vença pelo esforço." (Dave > Weinbaum) > > -- - Marcelo Henrique - "Se não puder se destacar pelo talento, vença pelo esforço." (Dave Weinbaum) -- 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