| <?xml version="1.0" encoding="utf-8"?> |
| <androidx.constraintlayout.widget.ConstraintLayout 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"> |
| |
| |
| <ImageView |
| android:id="@+id/qr_image" |
| android:layout_width="300dp" |
| android:layout_height="300dp" |
| android:gravity="center" |
| android:padding="@dimen/padding_small" |
| android:scaleType="fitCenter" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintLeft_toLeftOf="parent" |
| app:layout_constraintRight_toRightOf="parent" |
| app:layout_constraintTop_toTopOf="parent" |
| tools:layout_conversion_wrapHeight="1050" |
| tools:layout_conversion_wrapWidth="1050" /> |
| |
| <TextView |
| android:id="@+id/share_instruction" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:gravity="center" |
| android:paddingTop="16dp" |
| android:paddingBottom="24dp" |
| android:text="@string/share_message" |
| android:textColor="@color/text_color_primary" |
| android:textSize="16sp" |
| app:layout_constraintBottom_toTopOf="@+id/qr_image" |
| app:layout_constraintEnd_toEndOf="@+id/qr_image" |
| app:layout_constraintStart_toStartOf="@+id/qr_image" |
| app:layout_constraintTop_toTopOf="parent" |
| tools:layout_conversion_wrapHeight="215" |
| tools:layout_conversion_wrapWidth="1440" /> |
| |
| <com.google.android.material.button.MaterialButton |
| android:id="@+id/share_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:layout_marginTop="8dp" |
| android:layout_marginBottom="8dp" |
| android:text="@string/share_your_account_information" |
| android:theme="@style/ButtonColored" |
| app:layout_constraintBottom_toTopOf="@+id/qr_image" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintHorizontal_bias="0.5" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintTop_toBottomOf="@+id/share_instruction" /> |
| |
| |
| </androidx.constraintlayout.widget.ConstraintLayout> |