Statistics
| Branch: | Revision:

root / res / layout / enable_cdn_container.xml @ 3d6041e8

History | View | Annotate | Download (3.4 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:orientation="vertical"
7
    android:layout_width="fill_parent"
8
    android:layout_height="fill_parent"
9
    >
10
    <TextView  
11
    android:layout_width="fill_parent" 
12
    android:layout_height="wrap_content"
13
    android:layout_marginLeft="22dip" 
14
    android:text="CDN: leave true if this is the initial set-up "
15
    />
16
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
17
    android:id="@+id/cdn_spinner"
18
    android:layout_height="wrap_content"
19
    android:layout_width="fill_parent" 
20
    android:drawSelectorOnTop="true"
21
    android:layout_marginLeft="26dip"
22
    android:layout_marginRight="30dip"/>
23

    
24
<TextView  
25
    android:layout_width="fill_parent" 
26
    android:layout_height="wrap_content"
27
    android:layout_marginLeft="22dip" 
28
    android:text="TTL Expiration"
29
    />
30
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
31
    android:id="@+id/ttl_spinner"
32
    android:layout_height="wrap_content"
33
    android:layout_width="fill_parent" 
34
    android:drawSelectorOnTop="true"
35
    android:layout_marginLeft="26dip"
36
    android:layout_marginRight="30dip"
37
    />
38
<TextView
39
          android:layout_width="fill_parent" 
40
    android:layout_height="wrap_content"
41
    android:layout_marginLeft="22dip" 
42
    android:text="Log Retention"
43
    />
44
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
45
    android:id="@+id/log_retention_spinner"
46
    android:layout_height="wrap_content"
47
    android:layout_width="fill_parent" 
48
    android:drawSelectorOnTop="true"
49
    android:layout_marginLeft="26dip"
50
    android:layout_marginRight="30dip"
51
    />
52
<Button xmlns:android="http://schemas.android.com/apk/res/android"
53
    android:id="@+id/enable_button"
54
    android:text="Enable"
55
    android:layout_width="100dip"
56
    android:layout_height="wrap_content"
57
    android:layout_gravity="left"
58
    android:layout_marginLeft="20dip"
59
    android:layout_marginTop="10dip"
60
    />
61
<TextView
62
          android:layout_width="fill_parent" 
63
    android:layout_height="wrap_content"
64
    android:layout_marginLeft="22dip" 
65
    android:text="Click here to disable, change attributes, or enable a previously enabled CDN container.
66
    If you wish to disable a container choose false from the CDN spinner."
67
    />
68
    
69
<Button xmlns:android="http://schemas.android.com/apk/res/android"
70
    android:id="@+id/disable_button"
71
    android:text="Change Attributes"
72
    android:layout_width="100dip"
73
    android:layout_height="wrap_content"
74
    android:layout_gravity="left"
75
    android:layout_marginLeft="20dip"
76
    android:layout_marginTop="10dip"
77
    />
78
<ProgressBar android:id="@+id/save_container_progress_bar" 
79
    android:layout_width="30dip" 
80
    android:layout_height="30dip"
81
    android:layout_marginLeft="130dip"
82
    android:layout_marginTop="-42dip"
83
    android:visibility="invisible"
84
    />
85
    
86
<TextView android:id="@+id/saving_container_label"
87
    android:layout_width="fill_parent" 
88
    android:layout_height="wrap_content"
89
    android:layout_marginLeft="172dip"
90
    android:layout_marginTop="-28dip"
91
    android:visibility="invisible"
92
    android:textAppearance="?android:attr/textAppearanceMedium"
93
    android:text="Saving..."
94
    />
95
</LinearLayout>
96
</ScrollView>