Closed VayneKaso closed 7 months ago
Who got the success in this case ? help me edit it ,plz
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/fl_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical">
<Button
android:id="@+id/btn_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Clear Log" />
<TextView
android:id="@+id/tv_test"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textColor="@color/mainBlue"
android:textStyle="bold" />
</LinearLayout>
</merge>
I use merge as root element,Perhaps because of this cause failure?
Did you try the same way like in my sample?
I try a lot of times and result all is failed