Thibault Wittemberg | 7866d0c | 2016-10-18 17:27:05 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent"> |
| 5 | |
Thibault Wittemberg | 7866d0c | 2016-10-18 17:27:05 -0400 | [diff] [blame] | 6 | |
| 7 | <LinearLayout |
| 8 | android:layout_width="match_parent" |
| 9 | android:layout_height="wrap_content" |
| 10 | android:layout_alignParentBottom="true" |
| 11 | android:background="@color/color_primary_dark"> |
| 12 | |
Adrien BĂ©raud | 8bc9510 | 2018-08-25 22:34:51 -0400 | [diff] [blame] | 13 | <androidx.appcompat.widget.AppCompatButton |
Thibault Wittemberg | 7866d0c | 2016-10-18 17:27:05 -0400 | [diff] [blame] | 14 | android:id="@+id/share_button" |
| 15 | android:layout_width="match_parent" |
| 16 | android:layout_height="wrap_content" |
| 17 | android:background="?attr/selectableItemBackground" |
| 18 | android:paddingBottom="5dp" |
| 19 | android:paddingTop="5dp" |
| 20 | android:text="@string/share_your_account_information" |
| 21 | android:textColor="@color/white" /> |
| 22 | |
| 23 | </LinearLayout> |
| 24 | |
Aline Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 25 | <ImageView |
| 26 | android:id="@+id/qr_image" |
| 27 | android:layout_width="300dp" |
| 28 | android:layout_height="300dp" |
| 29 | android:layout_centerHorizontal="true" |
| 30 | android:layout_centerVertical="true" |
| 31 | |
| 32 | android:gravity="center" |
| 33 | android:padding="@dimen/padding_small" |
| 34 | android:scaleType="fitCenter" /> |
| 35 | |
| 36 | <TextView |
| 37 | android:id="@+id/share_instruction" |
| 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="wrap_content" |
| 40 | android:layout_above="@+id/qr_image" |
| 41 | android:layout_alignEnd="@+id/qr_image" |
Aline Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 42 | android:layout_alignParentTop="true" |
Aline Bonnet | fb39b95 | 2016-12-20 15:08:32 -0500 | [diff] [blame] | 43 | android:layout_alignStart="@+id/qr_image" |
| 44 | android:gravity="center" |
| 45 | android:paddingBottom="24sp" |
| 46 | android:paddingTop="16sp" |
| 47 | android:text="@string/share_message" |
| 48 | android:textColor="@color/text_color_primary" |
| 49 | android:textSize="16sp" /> |
| 50 | |
Thibault Wittemberg | 7866d0c | 2016-10-18 17:27:05 -0400 | [diff] [blame] | 51 | |
| 52 | </RelativeLayout> |