Revision bf03b262

b/.classpath
3 3
	<classpathentry kind="src" path="gen"/>
4 4
	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
5 5
	<classpathentry kind="src" path="src"/>
6
	<classpathentry kind="lib" path="lib/droid-fu-1.0-SNAPSHOT.jar"/>
7 6
	<classpathentry kind="output" path="bin"/>
8 7
</classpath>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2

  
3
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/RelativeLayout" android:layout_height="fill_parent" android:layout_width="fill_parent">
4
    <TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="Filename" android:id="@+id/filename_textview" android:layout_marginLeft="22dip"></TextView>
5
    <EditText android:id="@+id/file_name_text" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_below="@+id/filename_textview" android:layout_marginLeft="22dip" android:layout_marginRight="30dip"></EditText>
6
    <TextView android:layout_below="@+id/file_name_text" android:layout_height="wrap_content" android:id="@+id/file_contents_view" android:layout_width="wrap_content" android:text="File Content" android:layout_marginLeft="22dip"></TextView>
7
    <EditText android:layout_width="fill_parent" android:id="@+id/new_file_text" android:layout_above="@+id/add_text_file_buttons" android:layout_height="fill_parent" android:layout_below="@+id/file_contents_view" android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:gravity="top"></EditText>
8
    <LinearLayout android:layout_height="wrap_content" android:id="@+id/add_text_file_buttons" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_alignParentBottom="true">
9
        <Button android:layout_height="wrap_content" android:text="Submit" android:id="@+id/new_file_button" android:layout_gravity="left" android:layout_width="100dip" android:layout_marginLeft="22dip" android:layout_marginTop="10dip"></Button>
10
    </LinearLayout>
11

  
12

  
13
</RelativeLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
	android:layout_width="fill_parent" android:layout_height="fill_parent"
4
	android:orientation="vertical">
5
	<TextView android:layout_width="wrap_content"
6
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
7
		android:layout_marginTop="10dip" android:text="Contact US Support"></TextView>
8
	<Button android:layout_height="wrap_content"
9
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
10
		android:id="@+id/contact_us_button" android:text="@string/contact_us"
11
		android:drawableLeft="@drawable/usflag" android:gravity="center_vertical|center_horizontal"
12
		android:layout_width="fill_parent" android:layout_marginTop="2dip"></Button>
13
	<TextView android:layout_width="wrap_content"
14
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
15
		android:layout_marginTop="10dip" android:text="Contact UK Support"></TextView>
16
	<Button android:layout_height="wrap_content"
17
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
18
		android:id="@+id/contact_uk_button" android:text="@string/contact_uk"
19
		android:drawableLeft="@drawable/ukflag" android:layout_width="fill_parent"
20
		android:layout_marginTop="2dip"></Button>
21
	<TextView android:layout_width="wrap_content"
22
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
23
		android:layout_marginTop="10dip" android:text="Rackspace on Twitter"></TextView>
24
	<Button android:layout_height="wrap_content"
25
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
26
		android:id="@+id/contact_twitter_button" android:drawableLeft="@drawable/twittericon"
27
		android:text="Rackspace on Twitter" android:layout_width="fill_parent"
28
		android:layout_marginTop="2dip"></Button>
29
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
	android:layout_width="fill_parent" android:layout_height="fill_parent"
4
	android:orientation="vertical">
5
	<TextView android:layout_height="wrap_content" android:text="Provider"
6
		android:layout_marginLeft="22dip" android:layout_width="fill_parent"></TextView>
7
	<Spinner android:layout_height="wrap_content"
8
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
9
		android:layout_width="fill_parent" android:id="@+id/provider_spinner"></Spinner>
10
	<TextView android:layout_height="wrap_content" android:text="Custom Authentication Server"
11
		android:layout_marginLeft="22dip" android:layout_width="fill_parent"></TextView>
12
	<EditText android:layout_width="fill_parent"
13
		android:layout_height="wrap_content" android:id="@+id/custom_auth_server_edit"
14
		android:text="https://" android:layout_marginLeft="22dip"
15
		android:layout_marginRight="30dip"></EditText>
16
	<TextView android:layout_height="wrap_content" android:text="Username"
17
		android:layout_marginLeft="22dip" android:layout_width="fill_parent"></TextView>
18
	<EditText android:layout_width="fill_parent"
19
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
20
		android:layout_marginRight="30dip" android:id="@+id/username"
21
		android:singleLine="true"></EditText>
22
	<TextView android:layout_height="wrap_content" android:text="API Key"
23
		android:layout_marginLeft="22dip" android:layout_width="fill_parent"></TextView>
24
	<EditText android:layout_height="wrap_content"
25
		android:layout_width="fill_parent" android:layout_marginLeft="22dip"
26
		android:layout_marginRight="30dip" android:scrollHorizontally="true"
27
		android:autoText="false" android:capitalize="none" android:gravity="fill_horizontal"
28
		android:singleLine="true" android:imeOptions="actionGo"
29
		android:inputType="textNoSuggestions" android:password="true"
30
		android:textAppearance="?android:attr/textAppearanceMedium"
31
		android:id="@+id/addaccount_apikey" />
32
	<LinearLayout android:layout_height="wrap_content"
33
		android:layout_width="fill_parent" android:layout_marginTop="10dip">
34
		<Button android:layout_marginLeft="22dip"
35
			android:layout_height="wrap_content" android:text="Save"
36
			android:id="@+id/submit_new_account" android:layout_width="100dip"></Button>
37
		<CheckBox android:layout_width="wrap_content"
38
			android:layout_height="wrap_content" android:id="@+id/show_clear"
39
			android:text="Show API Key"></CheckBox>
40
	</LinearLayout>
41
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="fill_parent"
6
    >
7

  
8
<TextView  
9
    android:layout_width="fill_parent" 
10
    android:layout_height="wrap_content"
11
    android:layout_marginLeft="22dip" 
12
    android:text="Container Name"
13
    />
14
<EditText android:id="@+id/container_name"
15
    android:layout_height="wrap_content"
16
    android:layout_width="fill_parent"
17
    android:layout_marginLeft="22dip"
18
    android:layout_marginRight="30dip"
19
    android:scrollHorizontally="true"
20
    android:autoText="false"
21
    android:capitalize="none"
22
    android:gravity="fill_horizontal"
23
    android:singleLine="true"
24
    android:inputType="textNoSuggestions"
25
    android:imeOptions="actionNext"
26
    android:textAppearance="?android:attr/textAppearanceMedium" 
27
    />
28
<Button xmlns:android="http://schemas.android.com/apk/res/android"
29
    android:id="@+id/save_button"
30
    android:text="Save"
31
    android:layout_width="100dip"
32
    android:layout_height="wrap_content"
33
    android:layout_gravity="left"
34
    android:layout_marginLeft="20dip"
35
    android:layout_marginTop="10dip"
36
    />
37

  
38
<ProgressBar android:id="@+id/save_container_progress_bar" 
39
    android:layout_width="30dip" 
40
    android:layout_height="30dip"
41
    android:layout_marginLeft="130dip"
42
    android:layout_marginTop="-42dip"
43
    android:visibility="invisible"
44
    />
45
    
46
<TextView android:id="@+id/saving_container_label"
47
    android:layout_width="fill_parent" 
48
    android:layout_height="wrap_content"
49
    android:layout_marginLeft="172dip"
50
    android:layout_marginTop="-28dip"
51
    android:visibility="invisible"
52
    android:textAppearance="?android:attr/textAppearanceMedium"
53
    android:text="Saving..."
54
    />
55
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="fill_parent"
6
    >
7

  
8
<TextView  
9
    android:layout_width="fill_parent" 
10
    android:layout_height="wrap_content"
11
    android:layout_marginLeft="22dip" 
12
    android:text="Server Name"
13
    />
14
<EditText android:id="@+id/server_name"
15
    android:layout_height="wrap_content"
16
    android:layout_width="fill_parent"
17
    android:layout_marginLeft="22dip"
18
    android:layout_marginRight="30dip"
19
    android:scrollHorizontally="true"
20
    android:autoText="false"
21
    android:capitalize="none"
22
    android:gravity="fill_horizontal"
23
    android:singleLine="true"
24
    android:inputType="textNoSuggestions"
25
    android:imeOptions="actionNext"
26
    android:textAppearance="?android:attr/textAppearanceMedium" 
27
    />
28
<!--           
29
<TextView  
30
    android:layout_width="fill_parent" 
31
    android:layout_height="wrap_content"
32
    android:layout_marginLeft="22dip" 
33
    android:text="@string/apikey"
34
    />
35
<EditText android:id="@+id/login_apikey"
36
    android:layout_height="wrap_content"
37
    android:layout_width="fill_parent"
38
    android:layout_marginLeft="22dip"
39
    android:layout_marginRight="30dip"
40
    android:scrollHorizontally="true"
41
    android:autoText="false"
42
    android:capitalize="none"
43
    android:gravity="fill_horizontal"
44
    android:singleLine="true"
45
    android:imeOptions="actionGo"
46
    android:inputType="textNoSuggestions|textPassword"
47
    android:textAppearance="?android:attr/textAppearanceMedium" 
48
    />
49

  
50
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
51
    android:id="@+id/flavor_spinner"
52
    />
53
--> 
54

  
55
<TextView  
56
    android:layout_width="fill_parent" 
57
    android:layout_height="wrap_content"
58
    android:layout_marginLeft="22dip" 
59
    android:text="Image"
60
    />
61
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
62
    android:id="@+id/image_spinner"
63
    android:layout_height="wrap_content"
64
    android:layout_width="fill_parent" 
65
    android:drawSelectorOnTop="true"
66
    android:layout_marginLeft="22dip"
67
    android:layout_marginRight="30dip"
68
    />
69

  
70
<TextView  
71
    android:layout_width="fill_parent" 
72
    android:layout_height="wrap_content"
73
    android:layout_marginLeft="22dip" 
74
    android:text="Flavor"
75
    />
76
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
77
    android:id="@+id/flavor_spinner"
78
    android:layout_height="wrap_content"
79
    android:layout_width="fill_parent" 
80
    android:drawSelectorOnTop="true"
81
    android:layout_marginLeft="22dip"
82
    android:layout_marginRight="30dip"
83
    />
84

  
85
<Button xmlns:android="http://schemas.android.com/apk/res/android"
86
    android:id="@+id/save_button"
87
    android:text="Save"
88
    android:layout_width="100dip"
89
    android:layout_height="wrap_content"
90
    android:layout_gravity="left"
91
    android:layout_marginLeft="20dip"
92
    android:layout_marginTop="10dip"
93
    />
94

  
95
<ProgressBar android:id="@+id/save_server_progress_bar" 
96
    android:layout_width="30dip" 
97
    android:layout_height="30dip"
98
    android:layout_marginLeft="130dip"
99
    android:layout_marginTop="-42dip"
100
    android:visibility="invisible"
101
    />
102
    
103
<TextView android:id="@+id/saving_server_label"
104
    android:layout_width="fill_parent" 
105
    android:layout_height="wrap_content"
106
    android:layout_marginLeft="172dip"
107
    android:layout_marginTop="-28dip"
108
    android:visibility="invisible"
109
    android:textAppearance="?android:attr/textAppearanceMedium"
110
    android:text="Saving..."
111
    />
112
</LinearLayout>
113

  
114
<!--
115
    android:layout_height="wrap_content"
116
 -->
/dev/null
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_height="wrap_content"
73
    android:layout_gravity="left"
74
    android:layout_marginLeft="20dip"
75
    android:layout_marginTop="10dip" android:layout_width="wrap_content"/>
76
<ProgressBar android:id="@+id/save_container_progress_bar" 
77
    android:layout_width="30dip" 
78
    android:layout_height="30dip"
79
    android:layout_marginLeft="130dip"
80
    android:layout_marginTop="-42dip"
81
    android:visibility="invisible"
82
    />
83
    
84
<TextView android:id="@+id/saving_container_label"
85
    android:layout_width="fill_parent" 
86
    android:layout_height="wrap_content"
87
    android:layout_marginLeft="172dip"
88
    android:layout_marginTop="-28dip"
89
    android:visibility="invisible"
90
    android:textAppearance="?android:attr/textAppearanceMedium"
91
    android:text="Saving..."
92
    />
93
</LinearLayout>
94
</ScrollView>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
3
  xmlns:android="http://schemas.android.com/apk/res/android"
4
  android:layout_width="fill_parent"
5
  android:orientation="horizontal" android:layout_height="64dip">
6
    <ImageView android:id="@+id/account_type_icon" android:layout_gravity="center" android:layout_height="fill_parent" android:layout_width="wrap_content" android:maxHeight="30dp" android:maxWidth="30dp" android:layout_marginLeft="10dip"></ImageView>
7
    <TableLayout android:orientation="vertical" android:layout_height="fill_parent" android:layout_marginLeft="10dip" android:id="@+id/tableLayout1" android:layout_width="190dip">
8
        <TableRow android:layout_height="wrap_content" android:id="@+id/tableRow1" android:layout_width="wrap_content">
9
            <TextView android:textSize="24sp" android:textColor="#FFFFFF" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_marginTop="5px" android:id="@+id/label"></TextView>
10
        </TableRow>
11
        <TableRow android:layout_height="wrap_content" android:id="@+id/tableRow2" android:layout_width="wrap_content">
12
            <TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/sublabel"></TextView>
13
        </TableRow>
14
    </TableLayout>
15
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="horizontal"
4
    android:layout_width="fill_parent"
5
    android:layout_height="64dip"
6
    >
7
        
8
    <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
9
        android:orientation="vertical"
10
        android:layout_width="fill_parent"
11
        android:layout_height="fill_parent">
12
    
13
        <TableRow>
14
		    <TextView android:id="@+id/label"
15
		        android:layout_width="wrap_content"
16
		        android:layout_height="wrap_content"
17
		        android:layout_marginTop="5px"
18
		        android:textColor="#FFFFFF"
19
		        android:textSize="24sp" 
20
		        android:singleLine="true"/>
21
        </TableRow>
22
        
23
        <TableRow>
24
		    <TextView android:id="@+id/sublabel"
25
		        android:layout_width="wrap_content"
26
		        android:layout_height="wrap_content"
27
		        android:layout_marginTop="0px"
28
		        android:textColor="#FFFFFF"
29
		        android:text="256 server - CentOS 5.3"
30
		        android:textSize="12sp" />
31
        </TableRow>
32
    </TableLayout>
33
        
34
        
35
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="horizontal"
4
    android:layout_width="fill_parent"
5
    android:layout_height="64dip"
6
    >
7
        
8
    <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
9
        android:orientation="vertical"
10
        android:layout_width="fill_parent"
11
        android:layout_height="fill_parent">
12
    
13
        <TableRow>
14
		    <TextView android:id="@+id/label"
15
		        android:layout_width="wrap_content"
16
		        android:layout_height="wrap_content"
17
		        android:layout_marginTop="5px"
18
		        android:textColor="#FFFFFF"
19
		        android:textSize="24sp" />
20
        </TableRow>
21
        
22
        <TableRow>
23
		    <TextView android:id="@+id/sublabel"
24
		        android:layout_width="wrap_content"
25
		        android:layout_height="wrap_content"
26
		        android:layout_marginTop="0px"
27
		        android:textColor="#FFFFFF"
28
		        android:text="256 server - CentOS 5.3"
29
		        android:textSize="12sp" />
30
        </TableRow>
31
    </TableLayout>
32
        
33
        
34
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="horizontal"
4
    android:layout_width="fill_parent"
5
    android:layout_height="64dip"
6
    >
7
    <ImageView android:id="@+id/icon"
8
        android:layout_width="37px"
9
        android:paddingLeft="0px"
10
        android:paddingRight="0px"
11
        android:paddingTop="0px"
12
        android:layout_marginRight="10px"
13
        android:layout_marginLeft="10px"
14
        android:layout_marginTop="13px"
15
        android:layout_height="37px"
16
        android:src="@drawable/ubuntu_icon" />
17
        
18
    <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
19
        android:orientation="vertical"
20
        android:layout_width="fill_parent"
21
        android:layout_height="fill_parent">
22
    
23
        <TableRow>
24
		    <TextView android:id="@+id/label"
25
		        android:layout_width="wrap_content"
26
		        android:layout_height="wrap_content"
27
		        android:layout_marginTop="5px"
28
		        android:textColor="#FFFFFF"
29
		        android:textSize="24sp" />
30
        </TableRow>
31
        
32
        <TableRow>
33
		    <TextView android:id="@+id/sublabel"
34
		        android:layout_width="wrap_content"
35
		        android:layout_height="wrap_content"
36
		        android:layout_marginTop="0px"
37
		        android:textColor="#FFFFFF"
38
		        android:text="256 server - CentOS 5.3"
39
		        android:textSize="12sp" />
40
        </TableRow>
41
    </TableLayout>
42
        
43
        
44
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="fill_parent"
6
    >
7
	<ListView android:id="@+id/list" xmlns:android="http://schemas.android.com/apk/res/android"
8
	    android:layout_width="fill_parent" 
9
	    android:layout_height="0dip"
10
	    android:layout_weight="1"
11
	    android:stackFromBottom="true"
12
	    android:transcriptMode="normal"
13
	/>
14
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="horizontal"
4
    android:layout_width="fill_parent"
5
    android:layout_height="300px"
6
    android:gravity="center"
7
    >
8
    
9
	<ProgressBar android:id="@+id/loading_progress_bar" 
10
        android:layout_width="24px"
11
        android:paddingLeft="0px"
12
        android:paddingRight="0px"
13
        android:paddingTop="0px"
14
        android:layout_marginRight="10px"
15
        android:layout_marginLeft="10px"
16
        android:layout_marginTop="5px"
17
        android:layout_height="24px"
18
	    />
19
    
20
    <TextView android:id="@+id/loading_label"
21
        android:layout_width="wrap_content"
22
        android:layout_height="wrap_content"
23
        android:layout_marginTop="5px"
24
        android:textColor="#FFFFFF"
25
        android:textSize="20sp" />
26
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
	android:baselineAligned="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical">
4
	<ImageView android:layout_width="279dip"
5
		android:layout_height="72dip" android:adjustViewBounds="true"
6
		android:layout_gravity="center_horizontal" android:src="@drawable/rackspacecloud" />
7
	<TextView android:layout_width="fill_parent"
8
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
9
		android:text="@string/username" />
10
	<EditText android:id="@+id/login_username"
11
		android:layout_height="wrap_content" android:layout_width="fill_parent"
12
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
13
		android:scrollHorizontally="true" android:autoText="false"
14
		android:capitalize="none" android:gravity="fill_horizontal"
15
		android:singleLine="true" android:inputType="textNoSuggestions"
16
		android:imeOptions="actionNext" android:textAppearance="?android:attr/textAppearanceMedium" />
17

  
18
	<TextView android:layout_width="fill_parent"
19
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
20
		android:text="@string/apikey" />
21
	<EditText android:id="@+id/login_apikey"
22
		android:layout_height="wrap_content" android:layout_width="fill_parent"
23
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
24
		android:scrollHorizontally="true" android:autoText="false"
25
		android:capitalize="none" android:gravity="fill_horizontal"
26
		android:singleLine="true" android:imeOptions="actionGo"
27
		android:inputType="textNoSuggestions" android:password="true"
28
		android:textAppearance="?android:attr/textAppearanceMedium" />
29

  
30
	<LinearLayout android:orientation="horizontal"
31
		android:layout_width="fill_parent" android:layout_height="fill_parent">
32

  
33
		<Button xmlns:android="http://schemas.android.com/apk/res/android"
34
			android:id="@+id/button" android:text="@string/login"
35
			android:layout_width="100dip" android:layout_height="wrap_content"
36
			android:layout_gravity="left" android:layout_marginLeft="20dip"
37
			android:layout_marginTop="10dip" />
38

  
39
		<CheckBox android:id="@+id/show_clear"
40
			android:layout_gravity="right" android:layout_width="wrap_content"
41
			android:layout_height="wrap_content" android:text="Show API Key" /><!-- 
42
			TODO -->
43

  
44
	</LinearLayout>
45

  
46
	<ProgressBar android:id="@+id/login_progress_bar"
47
		android:layout_width="30dip" android:layout_height="30dip"
48
		android:layout_marginLeft="130dip" android:layout_marginTop="-42dip"
49
		android:visibility="invisible" />
50

  
51
	<TextView android:id="@+id/login_authenticating_label"
52
		android:layout_width="fill_parent" android:layout_height="wrap_content"
53
		android:layout_marginLeft="172dip" android:layout_marginTop="-28dip"
54
		android:visibility="invisible" android:textAppearance="?android:attr/textAppearanceMedium"
55
		android:text="@string/authenticating" />
56

  
57
</LinearLayout>
58

  
59
<!-- android:layout_height="wrap_content" -->
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
	android:baselineAligned="true" android:layout_width="fill_parent"
4
	android:layout_height="fill_parent" android:orientation="vertical">
5
	<ImageView android:layout_width="279dip"
6
		android:layout_height="72dip" android:adjustViewBounds="true"
7
		android:layout_gravity="center_horizontal" android:src="@drawable/rackspacecloud" />
8
	<TextView android:layout_width="fill_parent"
9
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
10
		android:text="@string/username" />
11
	<EditText android:id="@+id/login_username"
12
		android:layout_height="wrap_content" android:layout_width="fill_parent"
13
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
14
		android:scrollHorizontally="true" android:autoText="false"
15
		android:capitalize="none" android:gravity="fill_horizontal"
16
		android:singleLine="true" android:inputType="textNoSuggestions"
17
		android:imeOptions="actionNext" android:textAppearance="?android:attr/textAppearanceMedium" />
18

  
19
	<TextView android:layout_width="fill_parent"
20
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
21
		android:text="@string/apikey" />
22
	<EditText android:id="@+id/login_apikey"
23
		android:layout_height="wrap_content" android:layout_width="fill_parent"
24
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
25
		android:scrollHorizontally="true" android:autoText="false"
26
		android:capitalize="none" android:gravity="fill_horizontal"
27
		android:singleLine="true" android:imeOptions="actionGo"
28
		android:inputType="textNoSuggestions" android:password="true"
29
		android:textAppearance="?android:attr/textAppearanceMedium" />
30

  
31
	<LinearLayout android:orientation="horizontal"
32
		android:layout_width="fill_parent" android:layout_height="fill_parent">
33

  
34
		<Button xmlns:android="http://schemas.android.com/apk/res/android"
35
			android:id="@+id/button" android:text="@string/login"
36
			android:layout_width="100dip" android:layout_height="wrap_content"
37
			android:layout_gravity="left" android:layout_marginLeft="20dip"
38
			android:layout_marginTop="10dip" />
39

  
40
		<CheckBox android:id="@+id/show_clear"
41
			android:layout_gravity="right" android:layout_width="wrap_content"
42
			android:layout_height="wrap_content" android:text="Show API Key" /><!-- 
43
			TODO -->
44
		<ProgressBar android:id="@+id/login_progress_bar"
45
			android:layout_height="30dip" android:layout_width="30dip"
46
			android:visibility="visible" android:layout_marginTop="12dip" android:layout_marginLeft="7dip"></ProgressBar>
47
		<TextView android:layout_width="fill_parent"
48
			android:textAppearance="?android:attr/textAppearanceMedium"
49
			android:text="@string/authenticating" android:id="@+id/login_authenticating_label"
50
			android:layout_height="wrap_content" android:visibility="visible" android:layout_marginTop="12dip" android:layout_marginLeft="5dip"></TextView>
51

  
52
	</LinearLayout>
53

  
54
</LinearLayout>
55

  
56
<!-- android:layout_height="wrap_content" -->
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
	android:id="@+id/linearLayout1"
4
	android:layout_width="fill_parent" 
5
	android:orientation="vertical"
6
	android:layout_height="264dip">
7
	<TextView android:text="No Accounts" 
8
		android:layout_width="fill_parent"
9
		android:layout_marginTop="125px" 
10
		android:gravity="center" 
11
		android:textColor="#FFFFFF" 
12
		android:textSize="24sp"
13
		android:layout_height="wrap_content" android:id="@+id/no_accounts_label">
14
	</TextView>
15
	<TextView android:text="Press the Menu button to create an account"
16
		android:layout_width="fill_parent" 
17
		android:layout_marginTop="10px"
18
		android:gravity="center"
19
		android:textColor="#FFFFFF"
20
		android:textSize="12sp"
21
		android:layout_height="wrap_content" android:id="@+id/no_accounts_sublabel">
22
	</TextView>
23
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="264dip"
6
    >
7
    
8
    <TextView android:id="@+id/no_containers_label"
9
        android:layout_width="fill_parent"
10
        android:layout_height="wrap_content"
11
        android:layout_marginTop="125px"
12
        android:textColor="#FFFFFF"
13
        android:text="No Containers"
14
        android:gravity="center"
15
        
16
        android:textSize="24sp" />
17

  
18
    <TextView android:id="@+id/no_containers_sublabel"
19
        android:layout_width="fill_parent"
20
        android:layout_height="wrap_content"
21
        android:layout_marginTop="10px"
22
        android:textColor="#FFFFFF"
23
        android:text="Press menu to refresh list and more options"
24
        android:gravity="center"
25
        android:textSize="12sp" />
26
        
27
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="264dip"
6
    >
7
    
8
    <TextView android:id="@+id/no_files_label"
9
        android:layout_width="fill_parent"
10
        android:layout_height="wrap_content"
11
        android:layout_marginTop="125px"
12
        android:textColor="#FFFFFF"
13
        android:gravity="center"
14
        
15
        android:textSize="24sp" android:text="No Files "/>
16

  
17
    <TextView android:id="@+id/no_files_sublabel"
18
        android:layout_width="fill_parent"
19
        android:layout_height="wrap_content"
20
        android:layout_marginTop="10px"
21
        android:textColor="#FFFFFF"
22
        android:gravity="center"
23
        android:textSize="12sp" android:text="Press menu to delete an empty folder"/>
24
        
25
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="264dip"
6
    >
7
    
8
    <TextView android:id="@+id/no_files_label"
9
        android:layout_width="fill_parent"
10
        android:layout_height="wrap_content"
11
        android:layout_marginTop="125px"
12
        android:textColor="#FFFFFF"
13
        android:gravity="center"
14
        
15
        android:textSize="24sp" android:text="No Files "/>
16

  
17
    <TextView android:id="@+id/no_files_sublabel"
18
        android:layout_width="fill_parent"
19
        android:layout_height="wrap_content"
20
        android:layout_marginTop="10px"
21
        android:textColor="#FFFFFF"
22
        android:text="Press menu to delete an empty container"
23
        android:gravity="center"
24
        android:textSize="12sp" />
25
        
26
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="264dip"
6
    >
7
    
8
    <TextView android:id="@+id/no_servers_label"
9
        android:layout_width="fill_parent"
10
        android:layout_height="wrap_content"
11
        android:layout_marginTop="125px"
12
        android:textColor="#FFFFFF"
13
        android:text="No Servers"
14
        android:gravity="center"
15
        
16
        android:textSize="24sp" />
17

  
18
    <TextView android:id="@+id/no_servers_sublabel"
19
        android:layout_width="fill_parent"
20
        android:layout_height="wrap_content"
21
        android:layout_marginTop="10px"
22
        android:textColor="#FFFFFF"
23
        android:text="Press the Menu button to create a Cloud Server"
24
        android:gravity="center"
25
        android:textSize="12sp" />
26
        
27
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
3
  xmlns:android="http://schemas.android.com/apk/res/android"
4
  android:layout_width="fill_parent"
5
  android:layout_height="fill_parent" android:orientation="vertical">
6
    <TextView android:id="@+id/textView2" android:layout_height="wrap_content" android:text="Password Lock" android:layout_width="fill_parent" android:gravity="center" android:layout_marginTop="5dip" android:textSize="20dip"></TextView>
7
    <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Enter a Password" android:layout_marginLeft="22dip" android:layout_marginTop="10dip"></TextView>
8
    <EditText android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:inputType="textPassword" android:id="@+id/password_edittext"></EditText>
9
    <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Confirm Password" android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:layout_marginTop="10dip"></TextView>
10
    <EditText android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:inputType="textPassword" android:id="@+id/confirm_edittext"></EditText>
11
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout1" android:layout_marginTop="2dip">
12
        <Button android:layout_marginLeft="22dip" android:text="Submit" android:id="@+id/create_password_button" android:layout_width="130dip" android:layout_height="wrap_content" android:layout_marginTop="10dip"></Button>
13
        <CheckBox android:id="@+id/password_checkbox" android:layout_marginLeft="10dip" android:layout_marginTop="3dip" android:text="Turn Password On" android:layout_width="wrap_content" android:layout_height="wrap_content"></CheckBox>
14
    </LinearLayout>
15
    <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" android:layout_marginTop="10dip" android:text="Enabling the password lock will require that the password be entered each time the application is opened." android:layout_marginLeft="10dip" android:layout_marginRight="10dip"></TextView>
16
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
	android:layout_height="wrap_content" 
4
	android:layout_width="250dip" android:orientation="vertical">
5
	<EditText android:layout_height="wrap_content"
6
		android:minWidth="180dip" 
7
		android:id="@+id/submit_password_text"
8
		android:layout_centerHorizontal="true" 
9
		android:inputType="textPassword"
10
		android:layout_below="@+id/textView1" 
11
		android:layout_alignLeft="@+id/submit_password_text" android:layout_width="fill_parent" android:layout_marginRight="40dip" android:layout_marginLeft="40dip"/>
12
	<Button android:text="Submit" 
13
		android:id="@+id/submit_password"
14
		android:layout_height="wrap_content" 
15
		android:layout_below="@+id/submit_password_text"
16
		android:layout_centerHorizontal="true" 
17
		android:layout_marginTop="5dip" android:layout_width="fill_parent" android:layout_marginRight="60dip" android:layout_marginLeft="60dip"></Button>
18
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
3
	<PreferenceCategory android:title="Geographical Location">
4

  
5
		<ListPreference android:key="countries_type"
6
			android:title="@string/country" android:entries="@array/country_entries"
7
			android:entryValues="@array/country_values" android:dialogTitle="@string/country"
8
			android:defaultValue="@string/country_default_value" />
9
	</PreferenceCategory>
10

  
11
	<PreferenceCategory android:title="Authentication">
12
		<EditTextPreference android:name="Authentication Preference"
13
			android:summary="Enter a custom auth server URL."
14
			android:defaultValue="http://" android:title="Auth Server URL"
15
			android:key="authServerPref" />
16
	</PreferenceCategory>
17

  
18

  
19
</PreferenceScreen>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:id="@+id/tabhost"
4
    android:layout_width="fill_parent"
5
    android:layout_height="fill_parent"
6
    >
7
    <LinearLayout 
8
        android:orientation="vertical"
9
        android:layout_width="fill_parent"
10
        android:layout_height="fill_parent">
11
        <TabWidget android:id="@android:id/tabs"
12
            android:layout_width="fill_parent"
13
            android:layout_height="wrap_content"
14
        />
15
        <FrameLayout android:id="@android:id/tabcontent"
16
            android:layout_width="fill_parent"
17
            android:layout_height="wrap_content">
18
            
19
            <!-- 
20
            <AnalogClock android:id="@+id/tab1"
21
                android:layout_width="fill_parent"
22
                android:layout_height="fill_parent"
23
                android:layout_centerHorizontal="true"
24
            />-->
25
            
26
		    <ListView android:id="@+id/tab1"
27
		        android:layout_width="fill_parent" 
28
		        android:layout_height="0dip"
29
		        android:layout_weight="1"
30
		        android:stackFromBottom="true"
31
		        android:transcriptMode="normal"
32
		    />
33
            
34
            <ListView android:id="@+id/tab2"
35
                android:layout_width="fill_parent" 
36
                android:layout_height="0dip"
37
                android:layout_weight="1"
38
                android:stackFromBottom="true"
39
                android:transcriptMode="normal"
40
            />
41
            
42
            <!--
43
            <Button android:id="@+id/tab2"
44
                android:layout_width="fill_parent"
45
                android:layout_height="fill_parent"
46
                android:text="A random button"
47
            />                
48
            -->
49
            
50
        </FrameLayout>
51
        
52
    </LinearLayout>
53
</TabHost>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
3
  xmlns:android="http://schemas.android.com/apk/res/android"
4
  android:layout_width="fill_parent"
5
  android:layout_height="fill_parent" 
6
  android:orientation="vertical">
7
    <TextView 
8
    	android:layout_height="wrap_content" 
9
        android:layout_width="wrap_content" 
10
    	android:text="Daily Backup Window (GMT)" 
11
    	android:layout_marginLeft="22dip">
12
    </TextView>
13
    <Spinner 
14
    	android:layout_height="wrap_content" 
15
        android:layout_marginLeft="22dip" 
16
    	android:layout_width="wrap_content" 
17
    	android:id="@+id/daily_backup_spinner">
18
    </Spinner>
19
    <TextView 
20
    	android:layout_height="wrap_content" 
21
    	android:layout_width="wrap_content" 
22
    	android:layout_marginLeft="22dip" 
23
    	android:layout_marginTop="10dip"
24
    	android:text="Weekly Backup Window">
25
    </TextView>
26
    <Spinner 
27
    	android:layout_height="wrap_content" 
28
    	android:layout_marginLeft="22dip" 
29
    	android:layout_width="wrap_content" 
30
    	android:prompt="@string/weekly_backup_prompt" 
31
    	android:id="@+id/weekly_backup_spinner">
32
    </Spinner>
33
    <CheckBox 
34
    	android:layout_width="wrap_content" 
35
    	android:layout_height="wrap_content" 
36
    	android:layout_marginLeft="22dip" 
37
    	android:text="Enable Backups" 
38
    	android:layout_marginTop="10dip" 
39
    	android:id="@+id/enable_backup_checkbox">
40
    </CheckBox>
41
    <RelativeLayout 
42
    	android:layout_width="fill_parent" 
43
    	android:layout_height="wrap_content">
44
        <Button 
45
        	android:id="@+id/backup_update_button" 
46
        	android:text="Update" 
47
        	android:layout_height="wrap_content" 
48
        	android:layout_width="130dip" 
49
        	android:layout_centerInParent="true" 
50
        	android:layout_marginTop="20dip">
51
        </Button>
52
    </RelativeLayout>
53
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
3
  xmlns:android="http://schemas.android.com/apk/res/android"
4
  android:layout_width="fill_parent"
5
  android:layout_height="fill_parent">
6
    <LinearLayout 
7
    	android:layout_width="wrap_content" 
8
    	android:layout_height="wrap_content" 
9
    	android:orientation="vertical">
10
        <TextView 
11
        	android:layout_width="wrap_content" 
12
        	android:layout_height="wrap_content" 
13
        	android:layout_marginLeft="22dip" 
14
        	android:id="@+id/new_password_label" 
15
        	android:text="New Password">
16
        </TextView>
17
        <EditText 
18
        	android:layout_height="wrap_content" 
19
        	android:id="@+id/password_edittext" 
20
        	android:layout_marginLeft="22dip" 
21
        	android:inputType="textPassword" 
22
        	android:layout_marginRight="30dip" 
23
        	android:layout_width="fill_parent">
24
        </EditText>
25
        <TextView 
26
        	android:layout_width="wrap_content" 
27
        	android:layout_height="wrap_content" 
28
        	android:text="Confirm Password" 
29
        	android:layout_marginLeft="22dip" 
30
        	android:layout_marginTop="15dip">
31
        </TextView>
32
        <EditText 
33
        	android:layout_height="wrap_content" 
34
        	android:id="@+id/password_confirm_edittext" 
35
        	android:layout_marginLeft="22dip" 
36
        	android:password="true" 
37
        	android:inputType="textPassword" 
38
        	android:layout_width="fill_parent" 
39
        	android:layout_marginRight="30dip">
40
        </EditText>
41
        <TextView 
42
        	android:layout_width="wrap_content" 
43
        	android:layout_height="wrap_content" 
44
        	android:text="@string/change_password_warning" 
45
        	android:gravity="center" 
46
        	android:layout_marginTop="10dip" 
47
        	android:layout_marginBottom="10dip">
48
        </TextView>
49
        <RelativeLayout android:layout_width="fill_parent" android:id="@+id/relativeLayout1" android:layout_height="wrap_content">
50
            <Button android:layout_alignParentTop="true" android:layout_height="wrap_content" android:layout_centerInParent="true" android:layout_width="130dip" android:id="@+id/password_change_button" android:text="Submit"></Button>
51
        </RelativeLayout>
52
    </LinearLayout>
53
</LinearLayout>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
	android:layout_width="fill_parent" android:layout_height="fill_parent">
4
	<ListView xmlns:android="http://schemas.android.com/apk/res/android"
5
		android:layout_width="fill_parent" android:layout_height="0dip"
6
		android:layout_weight="1" android:stackFromBottom="true"
7
		android:transcriptMode="normal" android:id="@android:id/list" />
8
</LinearLayout>
/dev/null
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
<TextView android:id="@+id/view_container_name"
22
    android:layout_height="wrap_content"
23
    android:layout_width="fill_parent"
24
    android:layout_marginLeft="22dip"
25
    android:layout_marginRight="30dip"
26
    android:scrollHorizontally="true"
27
    android:gravity="fill_horizontal"
28
    android:textStyle="bold"
29
    android:textSize="20.0sp"
30
    android:textColor="#fff"
31
    android:layout_marginBottom="15dip"
32
    />
33
    
34
<!-- File Size  -->
35
<TextView  
36
    android:layout_width="fill_parent" 
37
    android:layout_height="wrap_content"
38
    android:layout_marginLeft="22dip" 
39
    android:text="File Size "
40
    android:singleLine="false"
41
    />
42
<TextView android:id="@+id/view_file_bytes"
43
    android:layout_height="wrap_content"
44
    android:layout_width="fill_parent"
45
    android:layout_marginLeft="22dip"
46
    android:layout_marginRight="30dip"
47
    android:scrollHorizontally="true"
48
    android:gravity="fill_horizontal"
49
    android:textStyle="bold"
50
    android:textSize="20.0sp"
51
    android:textColor="#fff"
52
    android:layout_marginBottom="15dip"
53
    />
54
    
55
<!-- Content Type -->
56
<TextView  
57
    android:layout_width="fill_parent" 
58
    android:layout_height="wrap_content"
59
    android:layout_marginLeft="22dip" 
60
    android:text="Content Type"
61
    android:singleLine="false"
62
    />
63
<TextView android:id="@+id/view_content_type"
64
    android:layout_height="wrap_content"
65
    android:layout_width="fill_parent"
66
    android:layout_marginLeft="22dip"
67
    android:layout_marginRight="30dip"
68
    android:scrollHorizontally="true"
69
    android:gravity="fill_horizontal"
70
    android:textStyle="bold"
71
    android:textSize="20.0sp"
72
    android:textColor="#fff"
73
    android:layout_marginBottom="15dip"
74
    />
75

  
76
<!-- Last Modification  -->
77
<TextView  
78
    android:layout_width="fill_parent" 
79
    android:layout_height="wrap_content"
80
    android:layout_marginLeft="22dip" 
81
    android:text="Last Modification Date"
82
    android:singleLine="false"
83
    />
84
<TextView android:id="@+id/view_file_modification"
85
    android:layout_height="wrap_content"
86
    android:layout_width="fill_parent"
87
    android:layout_marginLeft="22dip"
88
    android:layout_marginRight="30dip"
89
    android:scrollHorizontally="true"
90
    android:gravity="fill_horizontal"
91
    android:textStyle="bold"
92
    android:textSize="20.0sp"
93
    android:textColor="#fff"
94
    android:layout_marginBottom="15dip"
95
    />
96
 <!-- Preview Button -->
97
<LinearLayout android:layout_width="fill_parent" android:id="@+id/linearLayout1" android:layout_height="wrap_content">
98
    <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>
99
    <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>
100
</LinearLayout>
101
<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>
102
	</LinearLayout>
103

  
104
 </ScrollView>
/dev/null
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
3
  xmlns:android="http://schemas.android.com/apk/res/android"
4
  android:layout_width="fill_parent"
5
  android:layout_height="fill_parent">
6
    <android.webkit.WebView android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/ping_server_webview"></android.webkit.WebView>
7
</LinearLayout>
b/res/layout/createserver.xml
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="fill_parent"
6
    >
7
    <RelativeLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@+id/RelativeLayout1">
8
        <TextView android:id="@+id/TextView1" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:text="Number of Servers" android:layout_height="wrap_content" android:layout_marginTop="5dip" android:layout_marginLeft="22dip" android:layout_width="wrap_content"></TextView>
9
        <TextView android:layout_toRightOf="@+id/TextView1" android:layout_alignBaseline="@+id/TextView1" android:layout_alignParentTop="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5dip" android:layout_alignParentRight="true" android:gravity="right" android:layout_marginRight="30dip" android:id="@+id/server_count_text" android:text="1 Server"></TextView>
10
    </RelativeLayout>
11
    <SeekBar android:layout_height="wrap_content" android:id="@+id/number_of_servers" android:max="9" android:layout_gravity="center" android:layout_width="fill_parent" android:layout_marginLeft="12dip" android:layout_marginRight="20dip" android:paddingRight="10dip" android:paddingLeft="15dip"></SeekBar>
3
	android:orientation="vertical" android:layout_width="fill_parent"
4
	android:layout_height="fill_parent">
5
	<RelativeLayout android:layout_height="wrap_content"
6
		android:layout_width="fill_parent" android:id="@+id/RelativeLayout1">
7
		<TextView android:id="@+id/TextView1"
8
			android:layout_alignParentLeft="true" android:layout_alignParentTop="true"
9
			android:text="Number of Servers" android:layout_height="wrap_content"
10
			android:layout_marginTop="5dip" android:layout_marginLeft="22dip"
11
			android:layout_width="wrap_content"></TextView>
12
		<TextView android:layout_toRightOf="@+id/TextView1"
13
			android:layout_alignBaseline="@+id/TextView1"
14
			android:layout_alignParentTop="true" android:layout_width="wrap_content"
15
			android:layout_height="wrap_content" android:layout_marginTop="5dip"
16
			android:layout_alignParentRight="true" android:gravity="right"
17
			android:layout_marginRight="30dip" android:id="@+id/server_count_text"
18
			android:text="1 Server"></TextView>
19
	</RelativeLayout>
20
	<SeekBar android:layout_height="wrap_content" android:id="@+id/number_of_servers"
21
		android:max="9" android:layout_gravity="center" android:layout_width="fill_parent"
22
		android:layout_marginLeft="12dip" android:layout_marginRight="20dip"
23
		android:paddingRight="10dip" android:paddingLeft="15dip"></SeekBar>
12 24

  
13
<TextView  
14
    android:layout_width="fill_parent" 
15
    android:layout_height="wrap_content"
16
    android:layout_marginLeft="22dip" 
17
    android:text="Server Name"
18
    />
19
<EditText android:id="@+id/server_name"
20
    android:layout_height="wrap_content"
21
    android:layout_width="fill_parent"
22
    android:layout_marginLeft="22dip"
23
    android:layout_marginRight="30dip"
24
    android:scrollHorizontally="true"
25
    android:autoText="false"
26
    android:capitalize="none"
27
    android:gravity="fill_horizontal"
28
    android:singleLine="true"
29
    android:inputType="textNoSuggestions"
30
    android:imeOptions="actionNext"
31
    android:textAppearance="?android:attr/textAppearanceMedium" 
32
    />
33
<!--           
34
<TextView  
35
    android:layout_width="fill_parent" 
36
    android:layout_height="wrap_content"
37
    android:layout_marginLeft="22dip" 
38
    android:text="@string/apikey"
39
    />
40
<EditText android:id="@+id/login_apikey"
41
    android:layout_height="wrap_content"
42
    android:layout_width="fill_parent"
43
    android:layout_marginLeft="22dip"
44
    android:layout_marginRight="30dip"
45
    android:scrollHorizontally="true"
46
    android:autoText="false"
47
    android:capitalize="none"
48
    android:gravity="fill_horizontal"
49
    android:singleLine="true"
50
    android:imeOptions="actionGo"
51
    android:inputType="textNoSuggestions|textPassword"
52
    android:textAppearance="?android:attr/textAppearanceMedium" 
53
    />
25
	<TextView android:layout_width="fill_parent"
26
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
27
		android:text="Server Name" />
28
	<RelativeLayout android:layout_width="fill_parent"
29
		android:layout_height="wrap_content" android:id="@+id/relativeLayout2">
30
		<EditText android:layout_width="fill_parent"
31
			android:textAppearance="?android:attr/textAppearanceMedium"
32
			android:autoText="false" android:singleLine="true"
33
			android:layout_marginLeft="22dip" android:imeOptions="actionNext" android:scrollHorizontally="true"
34
			android:layout_marginRight="30dip" android:id="@+id/server_name"
35
			android:capitalize="none" android:layout_height="wrap_content"
36
			android:inputType="textNoSuggestions" android:paddingRight="50dip" android:gravity="fill_horizontal|center_vertical">
37
			<requestFocus></requestFocus>
38
		</EditText>
39
		<TextView android:layout_width="wrap_content"
40
			android:layout_height="wrap_content" android:layout_centerVertical="true"
41
			android:layout_alignRight="@+id/server_name" android:id="@+id/server_name_number"
42
			android:layout_marginRight="10dip"></TextView>
43
	</RelativeLayout>
44
	<!-- <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" 
45
		android:layout_marginLeft="22dip" android:text="@string/apikey" /> <EditText 
46
		android:id="@+id/login_apikey" android:layout_height="wrap_content" android:layout_width="fill_parent" 
47
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:scrollHorizontally="true" 
48
		android:autoText="false" android:capitalize="none" android:gravity="fill_horizontal" 
49
		android:singleLine="true" android:imeOptions="actionGo" android:inputType="textNoSuggestions|textPassword" 
50
		android:textAppearance="?android:attr/textAppearanceMedium" /> <Spinner xmlns:android="http://schemas.android.com/apk/res/android" 
51
		android:id="@+id/flavor_spinner" /> -->
54 52

  
55
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
56
    android:id="@+id/flavor_spinner"
57
    />
58
--> 
53
	<TextView android:layout_width="fill_parent"
54
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
55
		android:text="Image" />
56
	<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
57
		android:id="@+id/image_spinner" android:layout_height="wrap_content"
58
		android:layout_width="fill_parent" android:drawSelectorOnTop="true"
59
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip" />
59 60

  
60
<TextView  
61
    android:layout_width="fill_parent" 
62
    android:layout_height="wrap_content"
63
    android:layout_marginLeft="22dip" 
64
    android:text="Image"
65
    />
66
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
67
    android:id="@+id/image_spinner"
68
    android:layout_height="wrap_content"
69
    android:layout_width="fill_parent" 
70
    android:drawSelectorOnTop="true"
71
    android:layout_marginLeft="22dip"
72
    android:layout_marginRight="30dip"
73
    />
61
	<TextView android:layout_width="fill_parent"
62
		android:layout_height="wrap_content" android:layout_marginLeft="22dip"
63
		android:text="Flavor" />
64
	<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
65
		android:id="@+id/flavor_spinner" android:layout_height="wrap_content"
66
		android:layout_width="fill_parent" android:drawSelectorOnTop="true"
67
		android:layout_marginLeft="22dip" android:layout_marginRight="30dip" />
74 68

  
75
<TextView  
76
    android:layout_width="fill_parent" 
77
    android:layout_height="wrap_content"
78
    android:layout_marginLeft="22dip" 
79
    android:text="Flavor"
80
    />
81
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
82
    android:id="@+id/flavor_spinner"
83
    android:layout_height="wrap_content"
84
    android:layout_width="fill_parent" 
85
    android:drawSelectorOnTop="true"
86
    android:layout_marginLeft="22dip"
87
    android:layout_marginRight="30dip"
88
    />
69
	<Button xmlns:android="http://schemas.android.com/apk/res/android"
70
		android:id="@+id/save_button" android:text="Save"
71
		android:layout_width="100dip" android:layout_height="wrap_content"
72
		android:layout_gravity="left" android:layout_marginLeft="20dip"
73
		android:layout_marginTop="10dip" />
89 74

  
90
<Button xmlns:android="http://schemas.android.com/apk/res/android"
91
    android:id="@+id/save_button"
92
    android:text="Save"
93
    android:layout_width="100dip"
94
    android:layout_height="wrap_content"
95
    android:layout_gravity="left"
96
    android:layout_marginLeft="20dip"
97
    android:layout_marginTop="10dip"
98
    />
75
	<ProgressBar android:id="@+id/save_server_progress_bar"
76
		android:layout_width="30dip" android:layout_height="30dip"
77
		android:layout_marginLeft="130dip" android:layout_marginTop="-42dip"
78
		android:visibility="invisible" />
99 79

  
100
<ProgressBar android:id="@+id/save_server_progress_bar" 
101
    android:layout_width="30dip" 
102
    android:layout_height="30dip"
103
    android:layout_marginLeft="130dip"
104
    android:layout_marginTop="-42dip"
105
    android:visibility="invisible"
106
    />
107
    
108
<TextView android:id="@+id/saving_server_label"
109
    android:layout_width="fill_parent" 
110
    android:layout_height="wrap_content"
111
    android:layout_marginLeft="172dip"
112
    android:layout_marginTop="-28dip"
113
    android:visibility="invisible"
114
    android:textAppearance="?android:attr/textAppearanceMedium"
115
    android:text="Saving..."
116
    />
80
	<TextView android:id="@+id/saving_server_label"
81
		android:layout_width="fill_parent" android:layout_height="wrap_content"
82
		android:layout_marginLeft="172dip" android:layout_marginTop="-28dip"
83
		android:visibility="invisible" android:textAppearance="?android:attr/textAppearanceMedium"
84
		android:text="Saving..." />
117 85
</LinearLayout>
118 86

  
119
<!--
120
    android:layout_height="wrap_content"
121
 -->
87
<!-- android:layout_height="wrap_content" -->
b/src/com/rackspacecloud/android/AddServerActivity.java
81 81
					boolean fromUser) {
82 82
				// TODO Auto-generated method stub
83 83
				numberDisplay.setText(getCountText(progress));
84
				TextView number = (TextView)findViewById(R.id.server_name_number);
85
				if(progress == 0){
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff