Revision 9d849a44 res/layout/enable_cdn_container.xml

b/res/layout/enable_cdn_container.xml
1 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 2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
6
    android:orientation="vertical"
7 3
    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
    />
4
    android:layout_height="fill_parent" android:orientation="vertical">
5
    <TextView android:text="CDN: leave true if this is the initial set-up " android:layout_height="wrap_content" android:layout_marginLeft="22dip" android:layout_width="fill_parent" android:layout_marginTop="5dip"></TextView>
6
    <Spinner android:layout_height="wrap_content" android:id="@+id/cdn_spinner" android:layout_marginRight="30dip" android:layout_marginLeft="26dip" android:layout_width="fill_parent"></Spinner>
7
    <TextView android:text="TTL Expiration" android:layout_height="wrap_content" android:layout_marginLeft="22dip" android:layout_width="fill_parent"></TextView>
8
    <Spinner android:layout_height="wrap_content" android:id="@+id/ttl_spinner" android:layout_marginRight="30dip" android:layout_marginLeft="26dip" android:layout_width="fill_parent"></Spinner>
9
    <TextView android:text="Log Retention" android:layout_height="wrap_content" android:layout_marginLeft="22dip" android:layout_width="fill_parent"></TextView>
10
    <Spinner android:layout_height="wrap_content" android:id="@+id/log_retention_spinner" android:layout_marginRight="30dip" android:layout_marginLeft="26dip" android:layout_width="fill_parent"></Spinner>
11
    <LinearLayout android:layout_height="wrap_content" android:layout_marginTop="10dip" android:layout_width="fill_parent" android:id="@+id/linearLayout1" android:layout_marginBottom="10dip" android:gravity="center">
12
        <Button android:layout_height="wrap_content" android:id="@+id/enable_button" android:layout_marginRight="10dip" android:layout_width="100dip" android:text="Enable" android:layout_gravity="left"></Button>
13
        <Button android:layout_height="wrap_content" android:id="@+id/disable_button" android:layout_width="100dip" android:text="Change Attributes" android:layout_gravity="left"></Button>
14
    </LinearLayout>
15
    <TextView android:gravity="center" android:text='Click "Change Attributes" to disable, change attributes, or enable a previously enabled CDN container. If you wish to disable a container choose false from the CDN spinner.' android:layout_height="wrap_content" android:layout_width="wrap_content" android:textAppearance="?android:attr/textAppearanceSmall"></TextView>
16
    <ProgressBar android:layout_height="30dip" android:layout_marginLeft="130dip" android:visibility="invisible" android:id="@+id/save_container_progress_bar" android:layout_width="30dip"></ProgressBar>
17
    <TextView android:text="Saving..." android:layout_height="wrap_content" android:layout_marginLeft="172dip" android:visibility="invisible" android:layout_marginTop="-28dip" android:id="@+id/saving_container_label" android:layout_width="fill_parent" android:textAppearance="?android:attr/textAppearanceMedium"></TextView>
95 18
</LinearLayout>
96
</ScrollView>

Also available in: Unified diff