Statistics
| Branch: | Revision:

root / res / layout / viewobject.xml @ 143cdf16

History | View | Annotate | Download (4.2 kB)

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"
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
        </LinearLayout>
94

    
95
 </ScrollView>