java - Android XML preview does not show the different contents -
have 2 framelayouts fragment container.
problem xml previewer shows nothing.
app works , there no error message.
tried add tools:showin="@layout/..." in different framelayouts did not work.
<scrollview xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.sarahpoehler.testapp.mainactivity"> <linearlayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> <framelayout android:id="@+id/container_fragment_one" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <framelayout android:id="@+id/container_fragment_two android:layout_width="wrap_content" android:layout_height="wrap_content"/> </linearlayout> </scrollview>
Comments
Post a Comment