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 <android.support.v7.widget.CardView
8 android:layout_width="fill_parent"
9 android:layout_height="wrap_content"
10 android:layout_marginBottom="@dimen/activity_vertical_margin"
11 android:layout_marginLeft="@dimen/activity_horizontal_margin"
12 android:layout_marginRight="@dimen/activity_horizontal_margin"
13 android:layout_marginTop="@dimen/activity_vertical_margin">
14
15 <LinearLayout
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content"
18 android:gravity="center_horizontal"
19 android:orientation="vertical">
20
21 <FrameLayout
22 android:id="@+id/account_image_wrapper"
23 android:layout_width="wrap_content"
24 android:layout_height="wrap_content"
25 android:layout_marginBottom="8dp"
26 android:layout_marginTop="@dimen/publish_avatar_top_margin"
27 android:background="@drawable/account_image_border">
28
29 <ImageView
30 android:id="@+id/account_image"
31 android:layout_width="@dimen/publish_avatar_size"
32 android:layout_height="@dimen/publish_avatar_size"/>
33 </FrameLayout>
34
35 <TextView
36 android:id="@+id/hint"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:text="@string/touch_to_choose_picture"
40 android:textColor="?attr/color_text_secondary"/>
41
42 <TextView
43 android:id="@+id/secondary_hint"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:text="@string/or_long_press_for_default"
47 android:textColor="?attr/color_text_secondary"/>
48
49 <TextView
50 android:id="@+id/hint_or_warning"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:layout_marginTop="8dp"
54 android:layout_marginBottom="8dp"
55 android:textColor="?attr/color_text_primary"
56 android:textSize="?attr/TextSizeBody"/>
57
58 </LinearLayout>
59 </android.support.v7.widget.CardView>
60
61 <LinearLayout
62 android:id="@+id/button_bar"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:layout_alignParentBottom="true"
66 android:layout_alignParentLeft="true"
67 android:layout_alignParentRight="true">
68
69 <Button
70 android:id="@+id/cancel_button"
71 style="?android:attr/borderlessButtonStyle"
72 android:layout_width="0dp"
73 android:layout_height="wrap_content"
74 android:layout_weight="1"
75 android:text="@string/cancel"
76 android:textColor="?attr/color_text_primary"/>
77
78 <View
79 android:layout_width="1dp"
80 android:layout_height="fill_parent"
81 android:layout_marginBottom="7dp"
82 android:layout_marginTop="7dp"
83 android:background="?attr/divider"/>
84
85 <Button
86 android:id="@+id/publish_button"
87 style="?android:attr/borderlessButtonStyle"
88 android:layout_width="0dp"
89 android:layout_height="wrap_content"
90 android:layout_weight="1"
91 android:enabled="false"
92 android:text="@string/publish"
93 android:textColor="?attr/color_text_secondary"/>
94 </LinearLayout>
95
96</RelativeLayout>