| <?xml version="1.0" encoding="utf-8"?> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="QR Code" |
| android:layout_marginTop="12dp" |
| android:textSize="24sp" |
| android:textStyle="bold" |
| android:layout_gravity="center_horizontal" |
| android:textColor="@color/colorPrimary" |
| android:drawableStart="@drawable/baseline_qr_code_2_black_24dp" |
| android:drawableTint="@color/colorPrimary"/> |
| |
| <com.google.android.material.tabs.TabLayout |
| android:id="@+id/tabs" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="8dp" |
| app:tabSelectedTextColor="@color/colorPrimary" |
| app:tabIndicatorColor="@color/colorPrimary"/> |
| |
| <androidx.viewpager.widget.ViewPager |
| android:id="@+id/view_pager" |
| android:layout_width="match_parent" |
| android:layout_height="380dp" /> |
| |
| </LinearLayout> |