diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-02-23 20:06:41 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-02-25 08:57:29 +0530 |
commit | 4267e94dcd4e2fd31fcb1d8deaf1735dc13f6b8d (patch) | |
tree | fc5851f8e715c73fb2efd7a5c5bbc34df6f83984 /app/src/main/res/layout/main_activity.xml | |
parent | fac9e7612f559639c5bc6809a8bd9c252f38569c (diff) |
Replace FrameLayouts with recommended FragmentContainerView
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/layout/main_activity.xml')
-rw-r--r-- | app/src/main/res/layout/main_activity.xml | 10 |
1 files changed, 3 insertions, 7 deletions
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> |