Revision 732d9c2c res/layout/viewobject.xml
b/res/layout/viewobject.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
|
2 |
<TabHost xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 |
android:id="@+id/tabhost2" |
|
3 | 4 |
android:layout_width="fill_parent" |
4 |
android:layout_height="fill_parent"> |
|
5 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
6 |
android:id="@+id/view_server_layout" |
|
7 |
android:orientation="vertical" |
|
8 |
android:layout_width="fill_parent" |
|
9 |
android:layout_height="fill_parent" |
|
10 |
> |
|
11 |
|
|
12 |
<!-- Container Name - Setting top margin to -700 so it will sit over the OS logo image --> |
|
13 |
<TextView |
|
14 |
android:layout_width="fill_parent" |
|
15 |
android:layout_height="wrap_content" |
|
16 |
android:layout_marginLeft="22dip" |
|
17 |
android:layout_marginTop="20dip" |
|
18 |
android:text="Container Name" |
|
19 |
android:singleLine="false" |
|
20 |
/> |
|
21 |
<HorizontalScrollView android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@+id/HorizontalScrollView1" android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:fadeScrollbars="true"> |
|
22 |
<TextView android:id="@+id/view_container_name" android:layout_width="fill_parent" android:layout_marginBottom="15dip" android:scrollHorizontally="true" android:layout_height="wrap_content" android:gravity="fill_horizontal" android:layout_marginRight="30dip" android:textColor="#fff" android:lines="1" android:textSize="20.0sp" android:textStyle="bold" android:fadeScrollbars="true"></TextView> |
|
23 |
</HorizontalScrollView> |
|
24 |
|
|
25 |
<!-- File Size --> |
|
26 |
<TextView |
|
27 |
android:layout_width="fill_parent" |
|
28 |
android:layout_height="wrap_content" |
|
29 |
android:layout_marginLeft="22dip" |
|
30 |
android:text="File Size " |
|
31 |
android:singleLine="false" |
|
32 |
/> |
|
33 |
<TextView android:id="@+id/view_file_bytes" |
|
34 |
android:layout_height="wrap_content" |
|
35 |
android:layout_width="fill_parent" |
|
36 |
android:layout_marginLeft="22dip" |
|
37 |
android:layout_marginRight="30dip" |
|
38 |
android:scrollHorizontally="true" |
|
39 |
android:gravity="fill_horizontal" |
|
40 |
android:textStyle="bold" |
|
41 |
android:textSize="20.0sp" |
|
42 |
android:textColor="#fff" |
|
43 |
android:layout_marginBottom="15dip" |
|
44 |
/> |
|
45 |
|
|
46 |
<!-- Content Type --> |
|
47 |
<TextView |
|
48 |
android:layout_width="fill_parent" |
|
49 |
android:layout_height="wrap_content" |
|
50 |
android:layout_marginLeft="22dip" |
|
51 |
android:text="Content Type" |
|
52 |
android:singleLine="false" |
|
53 |
/> |
|
54 |
<TextView android:id="@+id/view_content_type" |
|
55 |
android:layout_height="wrap_content" |
|
56 |
android:layout_width="fill_parent" |
|
57 |
android:layout_marginLeft="22dip" |
|
58 |
android:layout_marginRight="30dip" |
|
59 |
android:scrollHorizontally="true" |
|
60 |
android:gravity="fill_horizontal" |
|
61 |
android:textStyle="bold" |
|
62 |
android:textSize="20.0sp" |
|
63 |
android:textColor="#fff" |
|
64 |
android:layout_marginBottom="15dip" |
|
65 |
/> |
|
66 |
|
|
67 |
<!-- Last Modification --> |
|
68 |
<TextView |
|
69 |
android:layout_width="fill_parent" |
|
70 |
android:layout_height="wrap_content" |
|
71 |
android:layout_marginLeft="22dip" |
|
72 |
android:text="Last Modification Date" |
|
73 |
android:singleLine="false" |
|
74 |
/> |
|
75 |
<TextView android:id="@+id/view_file_modification" |
|
76 |
android:layout_height="wrap_content" |
|
77 |
android:layout_width="fill_parent" |
|
78 |
android:layout_marginLeft="22dip" |
|
79 |
android:layout_marginRight="30dip" |
|
80 |
android:scrollHorizontally="true" |
|
81 |
android:gravity="fill_horizontal" |
|
82 |
android:textStyle="bold" |
|
83 |
android:textSize="20.0sp" |
|
84 |
android:textColor="#fff" |
|
85 |
android:layout_marginBottom="15dip" |
|
86 |
/> |
|
87 |
<!-- Preview Button --> |
|
88 |
<LinearLayout android:layout_width="fill_parent" android:id="@+id/linearLayout1" android:layout_height="wrap_content"> |
|
89 |
<Button android:layout_gravity="left" android:layout_width="130dip" android:layout_marginTop="10dip" android:layout_marginLeft="20dip" android:text="Download" android:id="@+id/download_button" android:layout_height="wrap_content"></Button> |
|
90 |
<Button android:layout_gravity="left" android:layout_width="130dip" android:layout_marginTop="10dip" android:layout_marginLeft="10dip" android:text="Preview File" android:id="@+id/preview_button" android:layout_height="wrap_content"></Button> |
|
91 |
</LinearLayout> |
|
92 |
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Files will be downloaded to the RackspaceCloud/ directory of your device's external storage." android:layout_marginLeft="20dip" android:layout_marginRight="20dip" android:gravity="center"></TextView> |
|
93 |
|
|
94 |
<LinearLayout android:orientation="horizontal" android:id="@+id/l_section6" android:layout_marginTop="10dip" |
|
95 |
android:layout_width="fill_parent" android:layout_height="fill_parent" > |
|
96 |
|
|
97 |
|
|
98 |
<TextView android:textColor="#444444" |
|
99 |
android:layout_marginTop="10dip" |
|
100 |
android:paddingTop="3dip" |
|
101 |
android:layout_width="wrap_content" |
|
102 |
android:layout_height="wrap_content" |
|
103 |
android:textStyle="bold" |
|
104 |
android:text="Metadata List" |
|
105 |
android:textSize="16px" |
|
106 |
/> |
|
107 |
<Button android:id="@+id/newMetadata" android:text="New Metadata" |
|
108 |
android:layout_alignParentRight="true" android:layout_marginTop="10dip" |
|
109 |
android:layout_width="fill_parent" android:layout_height="wrap_content" /> |
|
110 |
</LinearLayout> |
|
111 |
<LinearLayout android:orientation="vertical" |
|
112 |
android:layout_width="fill_parent" android:layout_height="fill_parent" |
|
113 |
android:id="@+id/metadataList" android:layout_below="@id/l_section6"> |
|
114 |
|
|
115 |
</LinearLayout> |
|
116 |
</LinearLayout> |
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
</ScrollView> |
|
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 RackspaceCloud/ 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_marginLeft="20dip" |
|
303 |
android:layout_marginRight="20dip" |
|
304 |
android:gravity="center" |
|
305 |
android:text="Files will be downloaded to the RackspaceCloud/ directory of your device's external storage." > |
|
306 |
</TextView> |
|
307 |
</LinearLayout> |
|
308 |
</ScrollView> |
|
309 |
</FrameLayout> |
|
310 |
</LinearLayout> |
|
311 |
|
|
312 |
</TabHost> |
Also available in: Unified diff