2016-04-19 17:08:37 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-05-31 07:42:26 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
2021-06-04 14:11:48 +00:00
|
|
|
android:layout_height="match_parent">
|
2020-09-10 10:01:47 +00:00
|
|
|
<LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-08-24 11:21:26 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
tools:context=".ui.activities.PrefsActivity"
|
|
|
|
|
android:orientation="vertical"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@color/content_background">
|
2019-08-24 11:21:26 +00:00
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
2020-08-26 10:58:04 +00:00
|
|
|
android:theme="@style/Toolbar.Modern"
|
2019-08-24 11:21:26 +00:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
2020-08-26 10:58:04 +00:00
|
|
|
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
|
2019-08-24 11:21:26 +00:00
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2016-04-19 17:08:37 +00:00
|
|
|
|
2018-11-06 15:11:02 +00:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
2016-04-19 17:08:37 +00:00
|
|
|
android:id="@+id/tab_layout"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
|
android:layout_gravity="bottom"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@color/window_background"
|
2016-04-19 17:08:37 +00:00
|
|
|
android:elevation="0dp"
|
|
|
|
|
android:fillViewport="false"
|
|
|
|
|
|
2020-08-26 10:58:04 +00:00
|
|
|
android:theme="@style/ThemeOverlay.AppCompat.Light"
|
2016-04-19 17:08:37 +00:00
|
|
|
app:layout_anchor="@+id/collapsing_toolbar"
|
|
|
|
|
app:layout_anchorGravity="bottom"
|
|
|
|
|
|
|
|
|
|
app:layout_collapseMode="pin"
|
|
|
|
|
app:tabGravity="fill"
|
2020-08-26 10:58:04 +00:00
|
|
|
app:tabIndicatorColor="?attr/colorPrimary"
|
2016-04-19 17:08:37 +00:00
|
|
|
app:tabMode="fixed" />
|
|
|
|
|
|
2021-09-15 15:41:05 +00:00
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
2017-10-31 17:31:06 +00:00
|
|
|
android:id="@+id/viewPager"
|
2016-04-19 17:08:37 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0px"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@color/content_background" />
|
2016-04-19 17:08:37 +00:00
|
|
|
|
2019-05-31 07:42:26 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/snackbar_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
2019-06-03 15:12:29 +00:00
|
|
|
android:layout_marginBottom="@dimen/spacing_large"/>
|
2019-05-31 07:42:26 +00:00
|
|
|
</FrameLayout>
|