Thibault Wittemberg | 7866d0c | 2016-10-18 17:27:05 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame^] | 2 | <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 Wittemberg | 7866d0c | 2016-10-18 17:27:05 -0400 | [diff] [blame] | 5 | android:layout_width="match_parent" |
| 6 | android:layout_height="match_parent"> |
| 7 | |
Thibault Wittemberg | 7866d0c | 2016-10-18 17:27:05 -0400 | [diff] [blame] | 8 | |
Aline Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 9 | <ImageView |
| 10 | android:id="@+id/qr_image" |
| 11 | android:layout_width="300dp" |
| 12 | android:layout_height="300dp" |
Aline Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 13 | android:gravity="center" |
| 14 | android:padding="@dimen/padding_small" |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame^] | 15 | 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 Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 22 | |
| 23 | <TextView |
| 24 | android:id="@+id/share_instruction" |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="wrap_content" |
Aline Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 27 | android:gravity="center" |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame^] | 28 | android:paddingTop="16dp" |
| 29 | android:paddingBottom="24dp" |
Aline Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 30 | android:text="@string/share_message" |
| 31 | android:textColor="@color/text_color_primary" |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame^] | 32 | 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 Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 54 | |
Thibault Wittemberg | 7866d0c | 2016-10-18 17:27:05 -0400 | [diff] [blame] | 55 | |
Rayan Osseiran | 3d17fc7 | 2019-05-23 10:58:25 -0400 | [diff] [blame^] | 56 | </androidx.constraintlayout.widget.ConstraintLayout> |