mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +01:00
80 lines
2.7 KiB
XML
80 lines
2.7 KiB
XML
<?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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ScrollView
|
|
android:id="@+id/scrollView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="@dimen/margin_large">
|
|
|
|
<ImageView
|
|
android:id="@+id/diagram"
|
|
android:layout_width="@dimen/hero_square"
|
|
android:layout_height="@dimen/hero_square"
|
|
android:adjustViewBounds="true"
|
|
android:importantForAccessibility="no"
|
|
android:scaleType="fitCenter"
|
|
app:layout_constraintBottom_toTopOf="@id/introTwoWay"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/il_qr_code" />
|
|
|
|
<TextView
|
|
android:id="@+id/introTwoWay"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/info_both_must_scan"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/diagram" />
|
|
|
|
<ImageView
|
|
android:id="@+id/explanationImage"
|
|
android:layout_width="@dimen/hero_rect_width"
|
|
android:layout_height="@dimen/hero_rect_height"
|
|
android:layout_marginTop="16dp"
|
|
android:scaleType="fitCenter"
|
|
app:layout_constraintBottom_toTopOf="@id/explanationText"
|
|
app:layout_constraintEnd_toEndOf="@id/diagram"
|
|
app:layout_constraintStart_toStartOf="@id/diagram"
|
|
app:layout_constraintTop_toBottomOf="@id/introTwoWay"
|
|
app:srcCompat="@drawable/il_qr_code_nearby"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:id="@+id/explanationText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="@string/face_to_face"
|
|
app:layout_constrainedWidth="true"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/explanationImage" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<Button
|
|
android:id="@+id/continueButton"
|
|
style="@style/BriarButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginTop="@dimen/margin_medium"
|
|
android:text="@string/continue_button" />
|
|
|
|
</LinearLayout>
|