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"
4 android:
layout_height=
"fill_parent"
5 android:
background=
"#F7F7F7"
6 android:
focusable=
"true"
7 android:
orientation=
"vertical" >
10 android:
id=
"@+id/linearLayout7"
11 android:
layout_width=
"fill_parent"
12 android:
layout_height=
"wrap_content"
13 android:
layout_gravity=
"top"
14 android:
background=
"#1D2D44"
15 android:
gravity=
"center_vertical|top"
16 android:
orientation=
"vertical"
17 android:
paddingBottom=
"2pt"
18 android:
paddingTop=
"2pt" >
21 android:
id=
"@+id/main_header_small"
22 android:
layout_width=
"wrap_content"
23 android:
layout_height=
"wrap_content"
24 android:
layout_gravity=
"center|center_vertical|center_horizontal"
25 android:
focusable=
"true"
26 android:
src=
"@drawable/owncloud_logo_small_white" >
31 android:
id=
"@+id/linearLayout2"
32 android:
layout_width=
"fill_parent"
33 android:
layout_height=
"fill_parent"
34 android:
layout_gravity=
"center|center_vertical"
35 android:
gravity=
"center_vertical"
36 android:
orientation=
"vertical" >
39 android:
id=
"@+id/tableLayout1"
40 android:
layout_width=
"fill_parent"
41 android:
layout_height=
"wrap_content"
42 android:
gravity=
"center_horizontal" >
45 android:
id=
"@+id/tableRow1"
46 android:
layout_width=
"wrap_content"
47 android:
layout_height=
"wrap_content"
48 android:
gravity=
"center_horizontal" >
51 android:
id=
"@+id/textView1"
52 android:
layout_width=
"wrap_content"
53 android:
layout_height=
"wrap_content"
54 android:
layout_marginBottom=
"15dip"
55 android:
layout_marginTop=
"15dip"
56 android:
text=
"@string/setup_title"
57 android:
textColor=
"@android:color/black"
58 android:
textSize=
"7pt"
59 android:
textStyle=
"bold" >
64 android:
id=
"@+id/tableRow2"
65 android:
layout_width=
"wrap_content"
66 android:
layout_height=
"wrap_content"
67 android:
gravity=
"center_horizontal"
68 android:
weightSum=
"1.0" >
71 android:
id=
"@+id/host_URL"
72 android:
layout_width=
"fill_parent"
73 android:
layout_height=
"wrap_content"
74 android:
layout_weight=
"0.75"
75 android:
hint=
"@string/setup_hint_address"
76 android:
inputType=
"textUri"
77 android:
singleLine=
"true" >
85 android:
id=
"@+id/tableRow3"
86 android:
layout_width=
"wrap_content"
87 android:
layout_height=
"wrap_content"
88 android:
gravity=
"center_horizontal"
89 android:
weightSum=
"1.0" >
92 android:
id=
"@+id/account_username"
93 android:
layout_width=
"fill_parent"
94 android:
layout_height=
"wrap_content"
95 android:
layout_weight=
".75"
96 android:
hint=
"@string/setup_hint_username"
97 android:
singleLine=
"true"
98 android:
textColor=
"@android:color/black" >
104 android:
id=
"@+id/tableRow4"
105 android:
layout_width=
"fill_parent"
106 android:
layout_height=
"wrap_content"
107 android:
gravity=
"center_horizontal"
108 android:
weightSum=
"1.0" >
111 android:
id=
"@+id/account_password"
112 android:
layout_width=
"fill_parent"
113 android:
layout_height=
"wrap_content"
114 android:
layout_weight=
".75"
115 android:
hint=
"@string/setup_hint_password"
116 android:
inputType=
"textPassword"
117 android:
singleLine=
"true"
118 android:
textColor=
"@android:color/black" >
125 android:
id=
"@+id/linearLayout1"
126 android:
layout_width=
"fill_parent"
127 android:
layout_height=
"wrap_content"
128 android:
gravity=
"center_horizontal"
129 android:
orientation=
"horizontal"
130 android:
weightSum=
"1.0" >
133 android:
id=
"@+id/buttonOK"
134 android:
layout_width=
"wrap_content"
135 android:
layout_height=
"wrap_content"
136 android:
layout_weight=
".50"
137 android:
onClick=
"onOkClick"
138 android:
text=
"@string/setup_btn_connect" >