Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame] | 1 | <?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éraud | 91f8874 | 2019-09-09 00:46:46 -0400 | [diff] [blame] | 13 | android:elevation="@dimen/toolbar_elevation" |
| 14 | style="@style/Widget.MaterialComponents.AppBarLayout.Surface"> |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame] | 15 | |
Adrien Béraud | 91f8874 | 2019-09-09 00:46:46 -0400 | [diff] [blame] | 16 | <com.google.android.material.appbar.MaterialToolbar |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame] | 17 | android:id="@+id/qrToolbar" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="?attr/actionBarSize" |
| 20 | android:layout_weight="1" |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame] | 21 | app:layout_scrollFlags="scroll|enterAlways" |
Adrien Béraud | f60e278 | 2019-06-02 17:04:26 -0400 | [diff] [blame] | 22 | app:popupTheme="@style/AppTheme" /> |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame] | 23 | |
| 24 | <com.google.android.material.tabs.TabLayout |
| 25 | android:id="@+id/tabs" |
| 26 | android:layout_width="match_parent" |
Adrien Béraud | 91f8874 | 2019-09-09 00:46:46 -0400 | [diff] [blame] | 27 | android:layout_height="wrap_content"/> |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame] | 28 | </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> |