2020-11-20 15:38:08 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-08-27 16:09:56 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-11-20 15:38:08 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2023-05-06 19:27:14 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
2023-05-06 19:27:14 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
tools:context=".ui.fragment.HomeFragment">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
|
android:id="@+id/appbar"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
2022-01-10 12:45:01 +01:00
|
|
|
android:layout_height="wrap_content">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2022-01-10 12:45:01 +01:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2021-08-27 16:09:56 +02:00
|
|
|
android:id="@+id/toolbar"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-12 10:00:11 +01:00
|
|
|
android:background="?attr/colorSurface"
|
2022-01-10 12:45:01 +01:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways|snap">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2021-04-29 11:03:43 +02:00
|
|
|
<LinearLayout
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:orientation="horizontal">
|
2021-04-29 11:03:43 +02:00
|
|
|
|
|
|
|
|
<ImageView
|
2023-06-04 11:36:25 +02:00
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
2021-08-10 15:47:50 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2021-04-29 11:03:43 +02:00
|
|
|
android:layout_marginEnd="8dp"
|
2023-06-04 11:36:25 +02:00
|
|
|
android:background="@drawable/ic_toolbar_tempo" />
|
2021-04-29 11:03:43 +02:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
<TextView
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/HeadlineMedium"
|
2021-08-27 16:09:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 16:54:36 +02:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-09-04 21:31:27 +02:00
|
|
|
android:text="@string/app_name" />
|
2021-04-29 11:03:43 +02:00
|
|
|
</LinearLayout>
|
2022-01-10 12:45:01 +01:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2021-08-17 16:17:41 +02:00
|
|
|
|
2023-05-06 19:27:14 +02:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
|
android:id="@+id/homeTabLayout"
|
2021-04-14 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-05-06 19:27:14 +02:00
|
|
|
app:tabGravity="fill"
|
|
|
|
|
app:tabMode="fixed" />
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2022-02-05 18:39:17 +01:00
|
|
|
|
2023-05-06 19:27:14 +02:00
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
|
|
android:id="@+id/homeViewPager"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
2022-02-05 18:39:17 +01:00
|
|
|
|
2021-08-27 16:09:56 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2020-11-20 15:38:08 +01:00
|
|
|
|