diff options
author | Arne Schwabe <arne@rfc2549.org> | 2019-11-12 22:58:14 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2019-11-17 10:16:02 +0100 |
commit | cbdaa48705855169827f29014efbaa934d212ccf (patch) | |
tree | 678c3c37bae0578b636bea38691d3eed9bec2f1f /main/src/ui/res/layout/main_activity.xml | |
parent | 81d7c76b94335e699b2885cd74f3e364eba60cc3 (diff) |
Convert most fragments/activities to androidx
Diffstat (limited to 'main/src/ui/res/layout/main_activity.xml')
-rw-r--r-- | main/src/ui/res/layout/main_activity.xml | 17 |
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> |