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 android:background="?attr/color_background_primary" >
6
7 <LinearLayout
8 android:id="@+id/account_image_wrapper"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content"
11 android:layout_alignParentTop="true"
12 android:layout_centerHorizontal="true"
13 android:layout_marginBottom="8dp"
14 android:layout_marginTop="24dp"
15 android:background="@drawable/account_image_border" >
16
17 <ImageView
18 android:id="@+id/account_image"
19 android:layout_width="192dp"
20 android:layout_height="192dp" />
21 </LinearLayout>
22
23 <TextView
24 android:id="@+id/hint"
25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content"
27 android:layout_below="@id/account_image_wrapper"
28 android:layout_centerHorizontal="true"
29 android:text="@string/touch_to_choose_picture"
30 android:textColor="?attr/color_text_secondary" />
31
32 <TextView
33 android:id="@+id/secondary_hint"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_below="@id/hint"
37 android:layout_centerHorizontal="true"
38 android:text="@string/or_long_press_for_default"
39 android:textColor="?attr/color_text_secondary" />
40
41 <LinearLayout
42 android:id="@+id/button_bar"
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:layout_alignParentBottom="true"
46 android:layout_alignParentLeft="true"
47 android:layout_alignParentRight="true" >
48
49 <Button
50 android:id="@+id/cancel_button"
51 style="?android:attr/borderlessButtonStyle"
52 android:layout_width="0dp"
53 android:layout_height="wrap_content"
54 android:layout_weight="1"
55 android:text="@string/cancel"
56 android:textColor="?attr/color_text_primary" />
57
58 <View
59 android:layout_width="1dp"
60 android:layout_height="fill_parent"
61 android:layout_marginBottom="7dp"
62 android:layout_marginTop="7dp"
63 android:background="?attr/divider" />
64
65 <Button
66 android:id="@+id/publish_button"
67 style="?android:attr/borderlessButtonStyle"
68 android:layout_width="0dp"
69 android:layout_height="wrap_content"
70 android:layout_weight="1"
71 android:enabled="false"
72 android:text="@string/publish"
73 android:textColor="?attr/color_text_secondary" />
74 </LinearLayout>
75
76 <LinearLayout
77 android:layout_width="wrap_content"
78 android:layout_height="fill_parent"
79 android:layout_above="@+id/button_bar"
80 android:layout_alignParentLeft="true"
81 android:layout_alignParentRight="true"
82 android:layout_below="@+id/secondary_hint"
83 android:gravity="center_vertical"
84 android:orientation="vertical"
85 android:paddingLeft="8dp"
86 android:paddingRight="8dp" >
87
88 <TextView
89 android:id="@+id/account"
90 android:layout_width="wrap_content"
91 android:layout_height="wrap_content"
92 android:textColor="?attr/color_text_primary"
93 android:textSize="?attr/TextSizeHeadline" />
94
95 <TextView
96 android:id="@+id/hint_or_warning"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:layout_marginTop="8dp"
100 android:minLines="3"
101 android:text="@string/publish_avatar_explanation"
102 android:textColor="?attr/color_text_primary"
103 android:textSize="?attr/TextSizeBody" />
104 </LinearLayout>
105
106</RelativeLayout>