blob: d2f367b6015badd65e1f28a6db0c2379821055db [file] [log] [blame]
Thibault Wittemberg7866d0c2016-10-18 17:27:05 -04001<?xml version="1.0" encoding="utf-8"?>
Rayan Osseiran3d17fc72019-05-23 10:58:25 -04002<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto"
4 xmlns:tools="http://schemas.android.com/tools"
Thibault Wittemberg7866d0c2016-10-18 17:27:05 -04005 android:layout_width="match_parent"
6 android:layout_height="match_parent">
7
Thibault Wittemberg7866d0c2016-10-18 17:27:05 -04008
Aline Bonnetfb39b952016-12-20 15:08:32 -05009 <ImageView
10 android:id="@+id/qr_image"
11 android:layout_width="300dp"
12 android:layout_height="300dp"
Aline Bonnetfb39b952016-12-20 15:08:32 -050013 android:gravity="center"
14 android:padding="@dimen/padding_small"
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040015 android:scaleType="fitCenter"
16 app:layout_constraintBottom_toBottomOf="parent"
17 app:layout_constraintLeft_toLeftOf="parent"
18 app:layout_constraintRight_toRightOf="parent"
19 app:layout_constraintTop_toTopOf="parent"
20 tools:layout_conversion_wrapHeight="1050"
21 tools:layout_conversion_wrapWidth="1050" />
Aline Bonnetfb39b952016-12-20 15:08:32 -050022
23 <TextView
24 android:id="@+id/share_instruction"
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
Aline Bonnetfb39b952016-12-20 15:08:32 -050027 android:gravity="center"
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040028 android:paddingTop="16dp"
29 android:paddingBottom="24dp"
Aline Bonnetfb39b952016-12-20 15:08:32 -050030 android:text="@string/share_message"
31 android:textColor="@color/text_color_primary"
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040032 android:textSize="16sp"
33 app:layout_constraintBottom_toTopOf="@+id/qr_image"
34 app:layout_constraintEnd_toEndOf="@+id/qr_image"
35 app:layout_constraintStart_toStartOf="@+id/qr_image"
36 app:layout_constraintTop_toTopOf="parent"
37 tools:layout_conversion_wrapHeight="215"
38 tools:layout_conversion_wrapWidth="1440" />
39
40 <com.google.android.material.button.MaterialButton
41 android:id="@+id/share_button"
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:layout_gravity="center"
45 android:layout_marginTop="8dp"
46 android:layout_marginBottom="8dp"
47 android:text="@string/share_your_account_information"
48 android:theme="@style/ButtonColored"
49 app:layout_constraintBottom_toTopOf="@+id/qr_image"
50 app:layout_constraintEnd_toEndOf="parent"
51 app:layout_constraintHorizontal_bias="0.5"
52 app:layout_constraintStart_toStartOf="parent"
53 app:layout_constraintTop_toBottomOf="@+id/share_instruction" />
Aline Bonnetfb39b952016-12-20 15:08:32 -050054
Thibault Wittemberg7866d0c2016-10-18 17:27:05 -040055
Rayan Osseiran3d17fc72019-05-23 10:58:25 -040056</androidx.constraintlayout.widget.ConstraintLayout>