|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 android:layout_width="fill_parent" |
|
4 android:layout_height="wrap_content" |
|
5 android:background="@color/fxaccount_error_preference_backgroundcolor" |
|
6 android:gravity="center_vertical" |
|
7 android:minHeight="?android:attr/listPreferredItemHeight" |
|
8 android:paddingRight="?android:attr/scrollbarSize" > |
|
9 |
|
10 <LinearLayout |
|
11 android:layout_width="wrap_content" |
|
12 android:layout_height="match_parent" |
|
13 android:gravity="center" |
|
14 android:minWidth="0dp" |
|
15 android:orientation="horizontal" > |
|
16 |
|
17 <ImageView |
|
18 android:id="@+android:id/icon" |
|
19 android:layout_width="wrap_content" |
|
20 android:layout_height="wrap_content" |
|
21 android:layout_gravity="center" |
|
22 android:minWidth="48dip" |
|
23 android:padding="10dip" /> |
|
24 </LinearLayout> |
|
25 |
|
26 <RelativeLayout |
|
27 android:layout_width="wrap_content" |
|
28 android:layout_height="wrap_content" |
|
29 android:layout_marginBottom="6dip" |
|
30 android:layout_marginLeft="15dip" |
|
31 android:layout_marginRight="6dip" |
|
32 android:layout_marginTop="6dip" |
|
33 android:layout_weight="1" > |
|
34 |
|
35 <TextView |
|
36 android:id="@+android:id/title" |
|
37 style="@style/FxAccountTextItem" |
|
38 android:layout_width="fill_parent" |
|
39 android:layout_height="wrap_content" |
|
40 android:layout_gravity="center_horizontal" |
|
41 android:gravity="center_vertical" > |
|
42 </TextView> |
|
43 </RelativeLayout> |
|
44 |
|
45 <!-- We ignore summary and widget_frame, but they still need to be present. We set them to be gone. --> |
|
46 |
|
47 <TextView |
|
48 android:id="@+android:id/summary" |
|
49 android:layout_width="wrap_content" |
|
50 android:layout_height="wrap_content" |
|
51 android:maxLines="4" |
|
52 android:textAppearance="?android:attr/textAppearanceSmall" |
|
53 android:textColor="?android:attr/textColorSecondary" |
|
54 android:visibility="gone" /> |
|
55 |
|
56 <!-- Preference should place its actual preference widget here. --> |
|
57 |
|
58 <LinearLayout |
|
59 android:id="@+android:id/widget_frame" |
|
60 android:layout_width="wrap_content" |
|
61 android:layout_height="match_parent" |
|
62 android:gravity="center" |
|
63 android:orientation="vertical" |
|
64 android:visibility="gone" /> |
|
65 |
|
66 </LinearLayout> |