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" |
| 13 | android:theme="@style/AppTheme.AppBarOverlay"> |
| 14 | |
| 15 | <androidx.appcompat.widget.Toolbar |
| 16 | android:id="@+id/qrToolbar" |
| 17 | android:layout_width="match_parent" |
| 18 | android:layout_height="?attr/actionBarSize" |
| 19 | android:layout_weight="1" |
| 20 | android:background="?attr/colorPrimary" |
| 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" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:background="?attr/colorPrimary" /> |
| 29 | </com.google.android.material.appbar.AppBarLayout> |
| 30 | |
| 31 | <androidx.viewpager.widget.ViewPager |
| 32 | android:id="@+id/view_pager" |
| 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="match_parent" |
| 35 | app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
| 36 | |
| 37 | </androidx.coordinatorlayout.widget.CoordinatorLayout> |