summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/src/main/res/layout-sw600dp/main_activity.xml4
-rw-r--r--app/src/main/res/layout/main_activity.xml10
2 files changed, 5 insertions, 9 deletions
diff --git a/app/src/main/res/layout-sw600dp/main_activity.xml b/app/src/main/res/layout-sw600dp/main_activity.xml
index 36f9eaff..bb3e56d7 100644
--- a/app/src/main/res/layout-sw600dp/main_activity.xml
+++ b/app/src/main/res/layout-sw600dp/main_activity.xml
@@ -10,14 +10,14 @@
android:showDividers="middle"
tools:context=".activity.MainActivity">
- <fragment
+ <androidx.fragment.app.FragmentContainerView
android:name="com.wireguard.android.fragment.TunnelListFragment"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2"
android:tag="LIST" />
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/detail_container"
android:layout_width="0dp"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml
index a4fd7fd1..497aaac3 100644
--- a/app/src/main/res/layout/main_activity.xml
+++ b/app/src/main/res/layout/main_activity.xml
@@ -6,14 +6,10 @@
android:layout_height="match_parent"
tools:context=".activity.MainActivity">
- <fragment
+ <androidx.fragment.app.FragmentContainerView
+ android:id="@+id/detail_container"
android:name="com.wireguard.android.fragment.TunnelListFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:tag="LIST" />
-
- <FrameLayout
- android:id="@+id/detail_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:tag="LIST"/>
</FrameLayout>