1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 ownCloud Android client application
5 Copyright (C)
2012 Bartek Przybylski
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version
3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
19 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
20 xmlns:
oc=
"http://schemas.android.com/apk/res/eu.alefzero.owncloud"
21 android:
layout_width=
"fill_parent"
22 android:
layout_height=
"fill_parent"
23 android:
focusable=
"true"
24 android:
gravity=
"center|fill"
25 android:
orientation=
"vertical" >
28 android:
layout_width=
"match_parent"
29 android:
layout_height=
"wrap_content"
30 android:
layout_gravity=
"center"
31 android:
layout_marginLeft=
"16dip"
32 android:
layout_marginRight=
"16dip"
33 android:
layout_weight=
"1" >
36 android:
id=
"@+id/LinearLayout1"
37 android:
layout_width=
"match_parent"
38 android:
layout_height=
"wrap_content"
39 android:
layout_gravity=
"center"
40 android:
layout_weight=
"1"
41 android:
orientation=
"vertical" >
44 android:
id=
"@+id/imageView1"
45 android:
layout_width=
"match_parent"
46 android:
layout_height=
"wrap_content"
47 android:
layout_marginBottom=
"10dp"
48 android:
layout_weight=
"1"
49 android:
src=
"@drawable/logo_inverted" />
52 android:
layout_width=
"match_parent"
53 android:
layout_height=
"wrap_content"
54 android:
layout_weight=
"1" >
57 android:
id=
"@+id/host_URL"
58 android:
layout_width=
"match_parent"
59 android:
layout_height=
"wrap_content"
60 android:
layout_weight=
"1"
62 android:
hint=
"@string/auth_host_url"
63 android:
singleLine=
"true" >
69 android:
id=
"@+id/refreshButton"
70 android:
layout_width=
"wrap_content"
71 android:
layout_height=
"wrap_content"
72 android:
src=
"@drawable/ic_action_refresh_black"
73 android:
layout_gravity=
"right|center_vertical"
74 android:
visibility=
"invisible" />
79 android:
layout_width=
"match_parent"
80 android:
layout_height=
"50dp"
81 android:
layout_weight=
"1" >
84 android:
id=
"@+id/action_indicator"
85 android:
layout_width=
"wrap_content"
86 android:
layout_height=
"wrap_content"
87 android:
layout_marginLeft=
"5dp"
88 android:
layout_marginRight=
"5dp"
89 android:
src=
"@android:drawable/stat_notify_sync"
90 android:
visibility=
"invisible" />
93 android:
id=
"@+id/status_text"
94 android:
layout_width=
"wrap_content"
95 android:
layout_height=
"wrap_content"
96 android:
text=
"TextView"
97 android:
visibility=
"invisible" />
102 android:
id=
"@+id/textView2"
103 android:
layout_width=
"wrap_content"
104 android:
layout_height=
"0dp"
105 android:
layout_weight=
"1"
106 android:
text=
"@string/auth_login_details"
107 android:
textAppearance=
"?android:attr/textAppearanceSmall" />
110 android:
id=
"@+id/account_username"
111 android:
layout_width=
"match_parent"
112 android:
layout_height=
"0dp"
113 android:
layout_weight=
"1"
115 android:
singleLine=
"true"
116 android:
hint=
"@string/auth_username" />
119 android:
layout_width=
"match_parent"
120 android:
layout_height=
"wrap_content"
121 android:
layout_weight=
"1" >
124 android:
id=
"@+id/account_password"
125 android:
layout_width=
"match_parent"
126 android:
layout_height=
"wrap_content"
127 android:
layout_weight=
"1"
129 android:
hint=
"@string/auth_password"
130 android:
inputType=
"textPassword"
131 android:
singleLine=
"true" />
134 android:
id=
"@+id/viewPassword"
135 android:
layout_width=
"wrap_content"
136 android:
layout_height=
"wrap_content"
137 android:
layout_gravity=
"right|center_vertical"
138 android:
src=
"@android:drawable/ic_menu_view"
139 android:
visibility=
"invisible" />
148 android:
layout_width=
"match_parent"
149 android:
layout_height=
"wrap_content"
150 android:
layout_alignParentBottom=
"true" >
153 android:
layout_width=
"match_parent"
154 android:
layout_height=
"wrap_content"
155 android:
weightSum=
"1" >
158 android:
id=
"@+id/buttonCancel"
159 android:
layout_width=
"match_parent"
160 android:
layout_height=
"wrap_content"
161 android:
layout_weight=
".5"
162 android:
text=
"@string/common_cancel" />
165 android:
id=
"@+id/buttonOK"
166 android:
layout_width=
"match_parent"
167 android:
layout_height=
"wrap_content"
168 android:
layout_weight=
".5"
169 android:
enabled=
"false"
170 android:
onClick=
"onOkClick"
171 android:
text=
"@string/setup_btn_connect"
172 android:
textColor=
"@android:color/black" />