884
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
2 |
<!--
|
|
3 |
/* //device/apps/common/assets/res/layout/list_content.xml ** **
|
|
4 |
Copyright 2006, The Android Open Source Project ** ** Licensed under
|
|
5 |
the Apache License, Version 2.0 (the "License"); ** you may not use
|
|
6 |
this file except in compliance with the License. ** You may obtain a
|
|
7 |
copy of the License at ** **
|
|
8 |
http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by
|
|
9 |
applicable law or agreed to in writing, software ** distributed under
|
|
10 |
the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES
|
|
11 |
OR CONDITIONS OF ANY KIND, either express or implied. ** See the
|
|
12 |
License for the specific language governing permissions and **
|
|
13 |
limitations under the License. */
|
|
14 |
-->
|
|
15 |
<LinearLayout
|
|
16 |
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
17 |
android:layout_width="match_parent"
|
|
18 |
android:layout_height="match_parent"
|
|
19 |
android:orientation="vertical">
|
|
20 |
<LinearLayout
|
|
21 |
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
22 |
android:layout_width="match_parent"
|
|
23 |
android:layout_height="wrap_content"
|
|
24 |
android:id="@+id/title_area"
|
|
25 |
android:orientation="horizontal">
|
|
26 |
<ImageView
|
|
27 |
android:id="@+id/provider_icon"
|
|
28 |
android:layout_width="48dip"
|
|
29 |
android:layout_height="48dip"
|
|
30 |
android:layout_margin="5dip"
|
|
31 |
android:layout_gravity="center_vertical" />
|
|
32 |
<LinearLayout
|
|
33 |
android:layout_width="0dip"
|
|
34 |
android:layout_weight="1"
|
|
35 |
android:layout_height="wrap_content"
|
|
36 |
android:orientation="vertical">
|
|
37 |
<TextView
|
|
38 |
android:id="@+id/user_id"
|
|
39 |
android:layout_width="match_parent"
|
|
40 |
android:layout_height="wrap_content"
|
|
41 |
android:textStyle="bold"
|
|
42 |
android:singleLine="true"
|
|
43 |
android:ellipsize="end"
|
|
44 |
android:gravity="center_vertical"
|
|
45 |
android:layout_marginTop="5dip" />
|
|
46 |
<TextView
|
|
47 |
android:id="@+id/provider_id"
|
|
48 |
android:layout_width="match_parent"
|
|
49 |
android:layout_height="wrap_content"
|
|
50 |
android:singleLine="true"
|
|
51 |
android:ellipsize="end"
|
|
52 |
android:layout_gravity="bottom"
|
|
53 |
android:layout_marginBottom="5dip" />
|
|
54 |
</LinearLayout>
|
|
55 |
</LinearLayout>
|
|
56 |
<ListView
|
|
57 |
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
58 |
android:id="@android:id/list"
|
|
59 |
android:layout_width="match_parent"
|
|
60 |
android:layout_height="0dip"
|
|
61 |
android:layout_weight="1"
|
|
62 |
android:drawSelectorOnTop="false"
|
|
63 |
android:scrollbarAlwaysDrawVerticalTrack="true" />
|
|
64 |
<TextView
|
|
65 |
android:id="@+id/sync_settings_error_info"
|
|
66 |
android:layout_width="match_parent"
|
|
67 |
android:layout_height="wrap_content"
|
|
68 |
android:text="SYNC FAILING" />
|
|
69 |
<LinearLayout
|
|
70 |
android:id="@+id/remove_account_area"
|
|
71 |
android:layout_width="match_parent"
|
|
72 |
android:layout_height="wrap_content"
|
|
73 |
android:orientation="horizontal"
|
|
74 |
android:background="@android:drawable/bottom_bar">
|
|
75 |
<View
|
|
76 |
android:layout_width="0dip"
|
|
77 |
android:layout_height="match_parent"
|
|
78 |
android:layout_weight="1" />
|
|
79 |
<Button
|
|
80 |
android:id="@+id/remove_account_button"
|
|
81 |
android:layout_width="0dip"
|
|
82 |
android:layout_height="wrap_content"
|
|
83 |
android:layout_weight="2"
|
|
84 |
android:layout_marginTop="5dip"
|
|
85 |
android:text="REMOVE ACCOUNT LABEL" />
|
|
86 |
<View
|
|
87 |
android:layout_width="0dip"
|
|
88 |
android:layout_height="match_parent"
|
|
89 |
android:layout_weight="1" />
|
|
90 |
</LinearLayout>
|
|
91 |
<RelativeLayout
|
|
92 |
android:id="@+id/finish_button_area"
|
|
93 |
android:layout_height="wrap_content"
|
|
94 |
android:layout_width="match_parent"
|
|
95 |
android:background="@android:drawable/bottom_bar"
|
|
96 |
android:visibility="gone">
|
|
97 |
<Button
|
|
98 |
android:id="@+id/finish_button"
|
|
99 |
android:layout_width="150dip"
|
|
100 |
android:layout_height="wrap_content"
|
|
101 |
android:layout_margin="5dip"
|
|
102 |
android:layout_alignParentRight="true"
|
|
103 |
android:drawablePadding="3dip"
|
|
104 |
android:text="FINISH" />
|
|
105 |
</RelativeLayout>
|
|
106 |
</LinearLayout> |