summaryrefslogtreecommitdiff
path: root/main/src/ui/res/layout/main_activity.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/res/layout/main_activity.xml')
-rw-r--r--main/src/ui/res/layout/main_activity.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/main/src/ui/res/layout/main_activity.xml b/main/src/ui/res/layout/main_activity.xml
index 7b6caf00..d47bacc5 100644
--- a/main/src/ui/res/layout/main_activity.xml
+++ b/main/src/ui/res/layout/main_activity.xml
@@ -4,15 +4,26 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
- <include layout="@layout/tabs" />
- <android.support.v4n.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
+ <androidx.viewpager.widget.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent">
+
+ <com.google.android.material.tabs.TabLayout
+ style="@style/AppTabLayout"
+ android:id="@+id/tab_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top"
+
+ />
+
+ </androidx.viewpager.widget.ViewPager>
</LinearLayout>