blob: 1d246d4e75476011a712d58854c2dce5e05ab60b [file] [log] [blame]
Thibault Wittemberg7866d0c2016-10-18 17:27:05 -04001<?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 Wittemberg7866d0c2016-10-18 17:27:05 -04006
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
13 <android.support.v7.widget.AppCompatButton
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 Bonnetfb39b952016-12-20 15:08:32 -050025 <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"
42 android:layout_alignLeft="@+id/qr_image"
43 android:layout_alignParentTop="true"
44 android:layout_alignRight="@+id/qr_image"
45 android:layout_alignStart="@+id/qr_image"
46 android:gravity="center"
47 android:paddingBottom="24sp"
48 android:paddingTop="16sp"
49 android:text="@string/share_message"
50 android:textColor="@color/text_color_primary"
51 android:textSize="16sp" />
52
Thibault Wittemberg7866d0c2016-10-18 17:27:05 -040053
54</RelativeLayout>