1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
4 android:orientation="vertical"> |
|
5 <RelativeLayout android:orientation="vertical" |
|
6 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
7 android:padding="10dip"> |
|
8 <LinearLayout android:id="@+id/avatar_panel" |
|
9 android:orientation="vertical" |
|
10 android:gravity="center" |
|
11 android:layout_alignParentTop="true" |
|
12 android:layout_width="fill_parent" android:layout_height="fill_parent" > |
|
13 <TextView android:text="@string/my_avatar" style="@style/Label" |
|
14 android:layout_width="wrap_content" android:layout_height="wrap_content" /> |
|
15 |
|
16 <ImageButton android:id="@+id/avatarButton" |
|
17 android:layout_width="120dip" android:layout_height="120dip" |
|
18 android:scaleType="fitCenter" /> |
|
19 </LinearLayout> |
|
20 <TextView android:id="@+id/ChangeStatusTypeLabel" |
|
21 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
22 android:layout_below="@id/avatar_panel" |
|
23 android:text="@string/ChangeStatusType" style="@style/Label" /> |
|
24 <Spinner android:id="@+id/ChangeStatusSpinner" |
|
25 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
26 android:drawSelectorOnTop="true" android:layout_below="@id/ChangeStatusTypeLabel" |
|
27 android:contentDescription="@string/ChangeStatusType"/> |
|
28 <TextView android:id="@+id/ChangeStatusMessageLabel" |
|
29 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
30 android:layout_below="@id/ChangeStatusSpinner" |
|
31 style="@style/Label" |
|
32 android:selectAllOnFocus="true" |
|
33 android:focusable="true" |
|
34 android:text="@string/ChangeStatusMessage" |
|
35 /> |
|
36 <EditText android:id="@+id/ChangeStatusMessage" |
|
37 android:inputType="textShortMessage|textAutoCorrect" |
|
38 android:imeOptions="actionDone" android:layout_width="fill_parent" |
|
39 android:layout_height="wrap_content" android:layout_below="@id/ChangeStatusMessageLabel" |
|
40 android:layout_marginBottom="18dp" /> |
|
41 <LinearLayout android:id="@+id/ChangeStatusButtons" |
|
42 android:layout_height="wrap_content" android:layout_width="fill_parent" |
|
43 android:layout_below="@id/ChangeStatusMessage" |
|
44 android:orientation="horizontal"> |
|
45 <Button android:id="@+id/ChangeStatusOk" |
|
46 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
47 android:layout_weight="1" |
|
48 android:text="@string/UpdateButton" /> |
|
49 <Button android:id="@+id/ChangeStatusClear" |
|
50 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
51 android:layout_weight="1" |
|
52 android:text="@string/ClearButton" /> |
|
53 </LinearLayout> |
|
54 <Button android:id="@+id/OpenContactList" android:layout_width="fill_parent" |
|
55 android:layout_height="wrap_content" android:text="@string/OpenContactList" |
|
56 android:layout_below="@+id/ChangeStatusButtons" /> |
|
57 </RelativeLayout> |
|
58 </ScrollView> |
|