Android FragmentTabHost: Exception raised during rendering: no bookmark known for null tag

The graphic layout for simple android.support.v4.app.FragmentTabHost never displays. I am downloading an example from this http://getquery.com/android-fragment-tab-example/ . He gets the same error.

<android.support.v4.app.FragmentTabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <TabWidget android:id="@android:id/tabs" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0"/> <FrameLayout android:id="@android:id/tabcontent" android:layout_width="0dp" android:layout_height="0dp" android:layout_weight="0"/> <FrameLayout android:id="@+id/realtabcontent" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"/> </LinearLayout> </android.support.v4.app.FragmentTabHost> 

The design error "Exception Occurring During Rendering: No Bookmark Known For Null Tag" is displayed

How can i solve this?

+4
source share

Source: https://habr.com/ru/post/1487271/


All Articles