| <?xml version="1.0" encoding="utf-8"?> |
| <android.support.design.widget.CoordinatorLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/main_content" |
| android:layout_height="match_parent" |
| android:layout_width="match_parent"> |
| |
| <android.support.design.widget.AppBarLayout |
| android:id="@+id/appbar" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> |
| |
| <android.support.v7.widget.Toolbar |
| android:background="?attr/colorPrimary" |
| android:id="@+id/toolbar" |
| android:layout_height="?attr/actionBarSize" |
| android:layout_width="match_parent" |
| app:layout_scrollFlags="scroll|enterAlways|snap" |
| app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/> |
| |
| </android.support.design.widget.AppBarLayout> |
| |
| <android.support.v4.view.ViewPager |
| android:id="@+id/vp_view_scan_card" |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| app:layout_behavior="@string/appbar_scrolling_view_behavior"/> |
| |
| </android.support.design.widget.CoordinatorLayout> |