root / res / layout / viewobject.xml @ 6b838a23
History | View | Annotate | Download (14.8 kB)
1 |
<?xml version="1.0" encoding="utf-8"?>
|
---|---|
2 |
<TabHost xmlns:android="http://schemas.android.com/apk/res/android" |
3 |
android:id="@+id/tabhost2" |
4 |
android:layout_width="fill_parent" |
5 |
android:layout_height="fill_parent" > |
6 |
|
7 |
<LinearLayout
|
8 |
android:layout_width="fill_parent" |
9 |
android:layout_height="fill_parent" |
10 |
android:orientation="vertical" > |
11 |
|
12 |
<TabWidget
|
13 |
android:id="@android:id/tabs" |
14 |
android:layout_width="fill_parent" |
15 |
android:layout_height="wrap_content" /> |
16 |
|
17 |
<FrameLayout
|
18 |
android:id="@android:id/tabcontent" |
19 |
android:layout_width="fill_parent" |
20 |
android:layout_height="fill_parent" > |
21 |
|
22 |
<ScrollView
|
23 |
android:id="@+id/details" |
24 |
android:layout_width="fill_parent" |
25 |
android:layout_height="fill_parent" > |
26 |
|
27 |
<LinearLayout
|
28 |
xmlns:android="http://schemas.android.com/apk/res/android" |
29 |
android:layout_width="fill_parent" |
30 |
android:layout_height="fill_parent" |
31 |
android:orientation="vertical" > |
32 |
|
33 |
<LinearLayout
|
34 |
xmlns:android="http://schemas.android.com/apk/res/android" |
35 |
android:id="@+id/view_server_layout" |
36 |
android:layout_width="fill_parent" |
37 |
android:layout_height="wrap_content" |
38 |
android:orientation="vertical" > |
39 |
|
40 |
<!-- Container Name - Setting top margin to -700 so it will sit over the OS logo image -->
|
41 |
|
42 |
<TextView
|
43 |
android:layout_width="fill_parent" |
44 |
android:layout_height="wrap_content" |
45 |
android:layout_marginLeft="22dip" |
46 |
android:layout_marginTop="20dip" |
47 |
android:singleLine="false" |
48 |
android:text="Container Name" /> |
49 |
|
50 |
<HorizontalScrollView
|
51 |
android:id="@+id/HorizontalScrollView1" |
52 |
android:layout_width="fill_parent" |
53 |
android:layout_height="wrap_content" |
54 |
android:layout_marginLeft="22dip" |
55 |
android:layout_marginRight="30dip" |
56 |
android:fadeScrollbars="true" > |
57 |
|
58 |
<TextView
|
59 |
android:id="@+id/view_container_name" |
60 |
android:layout_width="fill_parent" |
61 |
android:layout_height="wrap_content" |
62 |
android:layout_marginBottom="15dip" |
63 |
android:layout_marginRight="30dip" |
64 |
android:fadeScrollbars="true" |
65 |
android:gravity="fill_horizontal" |
66 |
android:lines="1" |
67 |
android:scrollHorizontally="true" |
68 |
android:textColor="#fff" |
69 |
android:textSize="20.0sp" |
70 |
android:textStyle="bold" > |
71 |
</TextView>
|
72 |
</HorizontalScrollView>
|
73 |
|
74 |
<!-- File Size -->
|
75 |
|
76 |
<TextView
|
77 |
android:layout_width="fill_parent" |
78 |
android:layout_height="wrap_content" |
79 |
android:layout_marginLeft="22dip" |
80 |
android:singleLine="false" |
81 |
android:text="File Size " /> |
82 |
|
83 |
<TextView
|
84 |
android:id="@+id/view_file_bytes" |
85 |
android:layout_width="fill_parent" |
86 |
android:layout_height="wrap_content" |
87 |
android:layout_marginBottom="15dip" |
88 |
android:layout_marginLeft="22dip" |
89 |
android:layout_marginRight="30dip" |
90 |
android:gravity="fill_horizontal" |
91 |
android:scrollHorizontally="true" |
92 |
android:textColor="#fff" |
93 |
android:textSize="20.0sp" |
94 |
android:textStyle="bold" /> |
95 |
|
96 |
<!-- Content Type -->
|
97 |
|
98 |
<TextView
|
99 |
android:layout_width="fill_parent" |
100 |
android:layout_height="wrap_content" |
101 |
android:layout_marginLeft="22dip" |
102 |
android:singleLine="false" |
103 |
android:text="Content Type" /> |
104 |
|
105 |
<TextView
|
106 |
android:id="@+id/view_content_type" |
107 |
android:layout_width="fill_parent" |
108 |
android:layout_height="wrap_content" |
109 |
android:layout_marginBottom="15dip" |
110 |
android:layout_marginLeft="22dip" |
111 |
android:layout_marginRight="30dip" |
112 |
android:gravity="fill_horizontal" |
113 |
android:scrollHorizontally="true" |
114 |
android:textColor="#fff" |
115 |
android:textSize="20.0sp" |
116 |
android:textStyle="bold" /> |
117 |
|
118 |
<!-- Last Modification -->
|
119 |
|
120 |
<TextView
|
121 |
android:layout_width="fill_parent" |
122 |
android:layout_height="wrap_content" |
123 |
android:layout_marginLeft="22dip" |
124 |
android:singleLine="false" |
125 |
android:text="Last Modification Date" /> |
126 |
|
127 |
<TextView
|
128 |
android:id="@+id/view_file_modification" |
129 |
android:layout_width="fill_parent" |
130 |
android:layout_height="wrap_content" |
131 |
android:layout_marginBottom="15dip" |
132 |
android:layout_marginLeft="22dip" |
133 |
android:layout_marginRight="30dip" |
134 |
android:gravity="fill_horizontal" |
135 |
android:scrollHorizontally="true" |
136 |
android:textColor="#fff" |
137 |
android:textSize="20.0sp" |
138 |
android:textStyle="bold" /> |
139 |
<!-- Preview Button -->
|
140 |
|
141 |
<LinearLayout
|
142 |
android:id="@+id/linearLayout1" |
143 |
android:layout_width="fill_parent" |
144 |
android:layout_height="wrap_content" > |
145 |
|
146 |
<Button
|
147 |
android:id="@+id/download_button" |
148 |
android:layout_width="130dip" |
149 |
android:layout_height="wrap_content" |
150 |
android:layout_gravity="left" |
151 |
android:layout_marginLeft="20dip" |
152 |
android:layout_marginTop="10dip" |
153 |
android:text="Download" > |
154 |
</Button>
|
155 |
|
156 |
<Button
|
157 |
android:id="@+id/preview_button" |
158 |
android:layout_width="130dip" |
159 |
android:layout_height="wrap_content" |
160 |
android:layout_gravity="left" |
161 |
android:layout_marginLeft="10dip" |
162 |
android:layout_marginTop="10dip" |
163 |
android:text="Preview File" > |
164 |
</Button>
|
165 |
</LinearLayout>
|
166 |
|
167 |
<TextView
|
168 |
android:layout_width="wrap_content" |
169 |
android:layout_height="wrap_content" |
170 |
android:layout_marginLeft="20dip" |
171 |
android:layout_marginRight="20dip" |
172 |
android:gravity="center" |
173 |
android:text="Files will be downloaded to the PithosPlus/ directory of your device's external storage." > |
174 |
</TextView>
|
175 |
</LinearLayout>
|
176 |
</LinearLayout>
|
177 |
</ScrollView>
|
178 |
|
179 |
<ScrollView
|
180 |
android:id="@+id/metadata" |
181 |
android:layout_width="fill_parent" |
182 |
android:layout_height="fill_parent" > |
183 |
|
184 |
<LinearLayout
|
185 |
xmlns:android="http://schemas.android.com/apk/res/android" |
186 |
android:layout_width="fill_parent" |
187 |
android:layout_height="fill_parent" |
188 |
android:orientation="vertical" > |
189 |
|
190 |
<LinearLayout
|
191 |
xmlns:android="http://schemas.android.com/apk/res/android" |
192 |
android:layout_width="fill_parent" |
193 |
android:layout_height="fill_parent" |
194 |
android:orientation="vertical" > |
195 |
|
196 |
<LinearLayout
|
197 |
android:id="@+id/l_section6" |
198 |
android:layout_width="fill_parent" |
199 |
android:layout_height="fill_parent" |
200 |
android:layout_marginTop="10dip" |
201 |
android:orientation="horizontal" > |
202 |
|
203 |
<TextView
|
204 |
android:layout_width="wrap_content" |
205 |
android:layout_height="wrap_content" |
206 |
android:layout_marginTop="10dip" |
207 |
android:paddingTop="3dip" |
208 |
android:text="Metadata List" |
209 |
android:textColor="#444444" |
210 |
android:textSize="16px" |
211 |
android:textStyle="bold" /> |
212 |
|
213 |
<Button
|
214 |
android:id="@+id/newMetadata" |
215 |
android:layout_width="fill_parent" |
216 |
android:layout_height="wrap_content" |
217 |
android:layout_alignParentRight="true" |
218 |
android:layout_marginTop="10dip" |
219 |
android:text="New Metadata" /> |
220 |
</LinearLayout>
|
221 |
|
222 |
<LinearLayout
|
223 |
android:id="@+id/metadataList" |
224 |
android:layout_width="fill_parent" |
225 |
android:layout_height="fill_parent" |
226 |
android:layout_below="@id/l_section6" |
227 |
android:orientation="vertical" > |
228 |
</LinearLayout>
|
229 |
</LinearLayout>
|
230 |
</LinearLayout>
|
231 |
</ScrollView>
|
232 |
|
233 |
<ScrollView
|
234 |
android:id="@+id/sharing" |
235 |
android:layout_width="fill_parent" |
236 |
android:layout_height="fill_parent" > |
237 |
|
238 |
<LinearLayout
|
239 |
xmlns:android="http://schemas.android.com/apk/res/android" |
240 |
android:layout_width="fill_parent" |
241 |
android:layout_height="fill_parent" |
242 |
android:orientation="vertical" > |
243 |
|
244 |
<LinearLayout
|
245 |
xmlns:android="http://schemas.android.com/apk/res/android" |
246 |
android:layout_width="fill_parent" |
247 |
android:layout_height="fill_parent" |
248 |
android:orientation="vertical" > |
249 |
|
250 |
<LinearLayout
|
251 |
android:id="@+id/l_section7" |
252 |
android:layout_width="fill_parent" |
253 |
android:layout_height="fill_parent" |
254 |
android:layout_marginTop="10dip" |
255 |
android:orientation="horizontal" > |
256 |
|
257 |
<TextView
|
258 |
android:layout_width="wrap_content" |
259 |
android:layout_height="wrap_content" |
260 |
android:layout_marginTop="10dip" |
261 |
android:paddingTop="3dip" |
262 |
android:text="Permission List" |
263 |
android:textColor="#444444" |
264 |
android:textSize="16px" |
265 |
android:textStyle="bold" /> |
266 |
|
267 |
<Button
|
268 |
android:id="@+id/newPermission" |
269 |
android:layout_width="fill_parent" |
270 |
android:layout_height="wrap_content" |
271 |
android:layout_alignParentRight="true" |
272 |
android:layout_marginTop="10dip" |
273 |
android:text="New Permission" /> |
274 |
</LinearLayout>
|
275 |
|
276 |
<LinearLayout
|
277 |
android:id="@+id/permissionsList" |
278 |
android:layout_width="fill_parent" |
279 |
android:layout_height="fill_parent" |
280 |
android:layout_below="@id/l_section7" |
281 |
android:orientation="vertical" > |
282 |
</LinearLayout>
|
283 |
</LinearLayout>
|
284 |
</LinearLayout>
|
285 |
</ScrollView>
|
286 |
|
287 |
<ScrollView
|
288 |
android:id="@+id/versions" |
289 |
android:layout_width="fill_parent" |
290 |
android:layout_height="fill_parent" > |
291 |
|
292 |
<LinearLayout
|
293 |
xmlns:android="http://schemas.android.com/apk/res/android" |
294 |
android:id="@+id/versions" |
295 |
android:layout_width="fill_parent" |
296 |
android:layout_height="fill_parent" |
297 |
android:orientation="vertical" > |
298 |
|
299 |
<TextView
|
300 |
android:layout_width="wrap_content" |
301 |
android:layout_height="wrap_content" |
302 |
android:layout_marginTop="10dip" |
303 |
android:paddingTop="3dip" |
304 |
android:text="Versions List" |
305 |
android:textSize="16px" |
306 |
android:textStyle="bold" /> |
307 |
|
308 |
<LinearLayout
|
309 |
android:id="@+id/versionsList" |
310 |
android:layout_width="fill_parent" |
311 |
android:layout_height="fill_parent" |
312 |
android:orientation="vertical" |
313 |
android:paddingLeft="3dip" |
314 |
android:paddingRight="3dip" > |
315 |
</LinearLayout>
|
316 |
</LinearLayout>
|
317 |
</ScrollView>
|
318 |
</FrameLayout>
|
319 |
</LinearLayout>
|
320 |
|
321 |
</TabHost>
|