mirror of https://github.com/MISP/misp-bump
101 lines
3.8 KiB
XML
101 lines
3.8 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:id="@+id/rootLayout"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/fragmentContainer"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"/>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/qrFrame"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:background="@drawable/rect_rounded"
|
||
|
android:backgroundTint="#99FFFFFF"
|
||
|
android:padding="8dp"
|
||
|
tools:layout_height="256dp"
|
||
|
tools:layout_width="256dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:gravity="center_vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/qrCode"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/qrInfo"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:drawableStart="@drawable/ic_info_outline"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:drawableTint="@color/status_amber"
|
||
|
android:gravity="center_vertical"
|
||
|
android:padding="8dp"
|
||
|
android:text="Scan your partners QR code"
|
||
|
android:textColor="@color/colorPrimaryDark"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/qrInfoStatic"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:drawableStart="@drawable/ic_info_outline"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:drawableTint="@color/colorPrimaryDark"
|
||
|
android:gravity="center_vertical"
|
||
|
android:padding="8dp"
|
||
|
android:lines="2"
|
||
|
android:text="Continue if your partner also scanned this QR code"
|
||
|
android:textColor="@color/colorPrimaryDark"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
</FrameLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/bottom"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="56dp"
|
||
|
android:layout_gravity="bottom"
|
||
|
android:background="@drawable/rect_rounded_top"
|
||
|
android:backgroundTint="@color/colorPrimary"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<ImageButton
|
||
|
android:id="@+id/prevButton"
|
||
|
android:layout_width="56dp"
|
||
|
android:layout_height="56dp"
|
||
|
android:background="?attr/selectableItemBackground"
|
||
|
android:padding="8dp"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:srcCompat="@drawable/ic_arrow_back"/>
|
||
|
|
||
|
<View
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_weight="1"/>
|
||
|
|
||
|
<ImageButton
|
||
|
android:id="@+id/nextButton"
|
||
|
android:layout_width="56dp"
|
||
|
android:layout_height="56dp"
|
||
|
android:background="?attr/selectableItemBackground"
|
||
|
android:padding="8dp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:srcCompat="@drawable/ic_arrow_forward"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|