mirror of https://github.com/MISP/misp-bump
96 lines
3.8 KiB
XML
96 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">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/sync_fragment_container"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" >
|
|
|
|
</FrameLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/qrcode"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="64dp"
|
|
android:contentDescription="@string/qr_code"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<LinearLayout
|
|
app:layout_behavior=".custom_views.ExtendedBottomSheetBehavior"
|
|
android:id="@+id/bottomSheet"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/rounded_rect"
|
|
android:backgroundTint="@color/colorPrimary"
|
|
app:behavior_peekHeight="64dp">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageButton
|
|
android:id="@+id/prevButton"
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="8dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/ic_arrow_back" />
|
|
|
|
<ImageView
|
|
android:visibility="invisible"
|
|
android:id="@+id/bottomSheetIcon"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="32dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@drawable/ic_check_outline" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/nextButton"
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="8dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/ic_arrow_forward" />
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/bottomSheetText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="16dp"
|
|
android:gravity="top"
|
|
android:layout_gravity="center"
|
|
android:text="Received public key from partner"
|
|
android:textColor="@color/white" />
|
|
</LinearLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |