aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-02 22:32:35 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:44 +0530
commitfc662bfd2545055d411a62efdfb464214b2529f3 (patch)
treeabb6cb8f53d29a6a679e40379c92bc86477bd847 /app/src
parent4f2383dd88cb9595e585929a79cb5026ee7a4921 (diff)
app: remove unnecessary layout nesting
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/activity_onboarding.xml15
1 files changed, 4 insertions, 11 deletions
diff --git a/app/src/main/res/layout/activity_onboarding.xml b/app/src/main/res/layout/activity_onboarding.xml
index 7505f072..61299d1c 100644
--- a/app/src/main/res/layout/activity_onboarding.xml
+++ b/app/src/main/res/layout/activity_onboarding.xml
@@ -3,16 +3,9 @@
~ SPDX-License-Identifier: GPL-3.0-only
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.fragment.app.FragmentContainerView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/fragment_first_run"
+ android:name="dev.msfjarvis.aps.ui.onboarding.fragments.WelcomeFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/colorPrimary"
- android:orientation="vertical">
-
- <androidx.fragment.app.FragmentContainerView
- android:id="@+id/fragment_first_run"
- android:name="dev.msfjarvis.aps.ui.onboarding.fragments.WelcomeFragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:tag="welcome_fragment" />
-</LinearLayout>
+ android:tag="welcome_fragment" />