1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 ownCloud Android client application
5 Copyright (C)
2012 Bartek Przybylski
6 Copyright (C)
2012-
2013 ownCloud Inc.
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License version
2,
10 as published by the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
20 <ScrollView xmlns:
android=
"http://schemas.android.com/apk/res/android"
21 android:
layout_width=
"match_parent"
22 android:
layout_height=
"match_parent"
23 android:
layout_gravity=
"center"
24 android:
fillViewport=
"true"
25 android:
orientation=
"vertical" >
28 android:
layout_width=
"match_parent"
29 android:
layout_height=
"wrap_content"
30 android:
focusable=
"true"
31 android:
gravity=
"center"
32 android:
orientation=
"vertical"
33 android:
padding=
"8dp" >
36 android:
id=
"@+id/imageView1"
37 android:
layout_width=
"match_parent"
38 android:
layout_height=
"wrap_content"
39 android:
layout_marginBottom=
"10dp"
40 android:
layout_marginTop=
"10dp"
41 android:
src=
"@drawable/logo" />
44 android:
id=
"@+id/hostUrlInput"
45 android:
layout_width=
"match_parent"
46 android:
layout_height=
"wrap_content"
48 android:
hint=
"@string/auth_host_url"
49 android:
inputType=
"textUri"
50 android:
drawablePadding=
"5dp"
56 android:
id=
"@+id/server_status_text"
57 android:
layout_width=
"match_parent"
58 android:
layout_height=
"wrap_content"
59 android:
layout_marginBottom=
"10dp"
60 android:
drawableLeft=
"@android:drawable/stat_notify_sync"
61 android:
drawablePadding=
"5dp"
62 android:
gravity=
"center_vertical"
63 android:
text=
"@string/auth_testing_connection" />
66 android:
id=
"@+id/oauth_onOff_check"
67 android:
layout_width=
"wrap_content"
68 android:
layout_height=
"wrap_content"
69 android:
checked=
"false"
70 android:
onClick=
"onCheckClick"
71 android:
text=
"@string/oauth_check_onoff"
72 android:
textAppearance=
"?android:attr/textAppearanceSmall"
73 android:
visibility=
"gone" />
76 android:
id=
"@+id/oAuthEntryPoint_1"
77 android:
layout_width=
"match_parent"
78 android:
layout_height=
"wrap_content"
80 android:
inputType=
"textUri"
81 android:
singleLine=
"true"
82 android:
text=
"@string/oauth2_url_endpoint_auth"
83 android:
visibility=
"gone" >
87 android:
id=
"@+id/oAuthEntryPoint_2"
88 android:
layout_width=
"match_parent"
89 android:
layout_height=
"wrap_content"
91 android:
inputType=
"textUri"
92 android:
singleLine=
"true"
93 android:
text=
"@string/oauth2_url_endpoint_access"
94 android:
visibility=
"gone" />
97 android:
id=
"@+id/account_username"
98 android:
layout_width=
"match_parent"
99 android:
layout_height=
"wrap_content"
101 android:
hint=
"@string/auth_username"
102 android:
inputType=
"textNoSuggestions" />
105 android:
id=
"@+id/account_password"
106 android:
layout_width=
"match_parent"
107 android:
layout_height=
"wrap_content"
108 android:
drawablePadding=
"5dp"
110 android:
hint=
"@string/auth_password"
111 android:
inputType=
"textPassword" />
114 android:
id=
"@+id/auth_status_text"
115 android:
layout_width=
"match_parent"
116 android:
layout_height=
"wrap_content"
117 android:
layout_marginBottom=
"10dp"
118 android:
drawableLeft=
"@android:drawable/stat_notify_sync"
119 android:
drawablePadding=
"5dp"
120 android:
gravity=
"center_vertical"
121 android:
text=
"@string/auth_unauthorized" />
124 android:
id=
"@+id/buttonOK"
125 android:
layout_width=
"match_parent"
126 android:
layout_height=
"wrap_content"
127 android:
layout_gravity=
"center_horizontal"
128 android:
enabled=
"false"
129 android:
onClick=
"onOkClick"
130 android:
text=
"@string/setup_btn_connect"
134 android:
id=
"@+id/account_register"
135 android:
layout_width=
"wrap_content"
136 android:
layout_height=
"wrap_content"
137 android:
background=
"@android:color/transparent"
138 android:
textColor=
"#0000FF"
139 android:
onClick=
"onRegisterClick"
140 android:
paddingBottom=
"5dp"
141 android:
paddingTop=
"5dp"
142 android:
text=
"@string/auth_register"