blob: d8a8ef1be9958c2a6be0eb9cb9ba082b4c0b3d8e [file] [log] [blame]
Rayan Osseiran3d17fc72019-05-23 10:58:25 -04001<?xml version="1.0" encoding="utf-8"?>
2<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto"
4 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent"
6 android:layout_height="match_parent"
7 tools:context=".client.QRCodeActivity">
8
9 <com.google.android.material.appbar.AppBarLayout
10 android:id="@+id/qrAppBar"
11 android:layout_width="match_parent"
12 android:layout_height="wrap_content"
Adrien Béraud91f88742019-09-09 00:46:46 -040013 android:elevation="@dimen/toolbar_elevation"
14 style="@style/Widget.MaterialComponents.AppBarLayout.Surface">
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040015
Adrien Béraud91f88742019-09-09 00:46:46 -040016 <com.google.android.material.appbar.MaterialToolbar
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040017 android:id="@+id/qrToolbar"
18 android:layout_width="match_parent"
19 android:layout_height="?attr/actionBarSize"
20 android:layout_weight="1"
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040021 app:layout_scrollFlags="scroll|enterAlways"
Adrien Béraudf60e2782019-06-02 17:04:26 -040022 app:popupTheme="@style/AppTheme" />
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040023
24 <com.google.android.material.tabs.TabLayout
25 android:id="@+id/tabs"
26 android:layout_width="match_parent"
Adrien Béraud91f88742019-09-09 00:46:46 -040027 android:layout_height="wrap_content"/>
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040028 </com.google.android.material.appbar.AppBarLayout>
29
30 <androidx.viewpager.widget.ViewPager
31 android:id="@+id/view_pager"
32 android:layout_width="match_parent"
33 android:layout_height="match_parent"
34 app:layout_behavior="@string/appbar_scrolling_view_behavior" />
35
36</androidx.coordinatorlayout.widget.CoordinatorLayout>