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 as published by
10 the Free Software Foundation, either version
2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
21 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
22 android:
layout_width=
"fill_parent"
23 android:
layout_height=
"fill_parent"
24 android:
focusable=
"true"
25 android:
gravity=
"center|fill"
26 android:
orientation=
"vertical" >
29 android:
layout_width=
"match_parent"
30 android:
layout_height=
"wrap_content"
31 android:
layout_gravity=
"center"
32 android:
layout_marginLeft=
"16dip"
33 android:
layout_marginRight=
"16dip"
34 android:
layout_weight=
"1" >
37 android:
id=
"@+id/LinearLayout1"
38 android:
layout_width=
"match_parent"
39 android:
layout_height=
"wrap_content"
40 android:
layout_gravity=
"center"
41 android:
layout_weight=
"1"
42 android:
orientation=
"vertical" >
45 android:
id=
"@+id/imageView1"
46 android:
layout_width=
"match_parent"
47 android:
layout_height=
"wrap_content"
48 android:
layout_marginBottom=
"10dp"
49 android:
layout_weight=
"1"
50 android:
src=
"@drawable/owncloud_logo" />
53 android:
layout_width=
"match_parent"
54 android:
layout_height=
"wrap_content"
55 android:
layout_weight=
"1" >
58 android:
id=
"@+id/host_URL"
59 android:
layout_width=
"match_parent"
60 android:
layout_height=
"wrap_content"
61 android:
layout_weight=
"1"
63 android:
hint=
"@string/auth_host_url"
64 android:
inputType=
"textNoSuggestions" >
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:
hint=
"@string/auth_username"
116 android:
inputType=
"textNoSuggestions" />
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"/>
133 android:
id=
"@+id/viewPassword"
134 android:
layout_width=
"wrap_content"
135 android:
layout_height=
"wrap_content"
136 android:
layout_gravity=
"right|center_vertical"
137 android:
src=
"@android:drawable/ic_menu_view"
138 android:
visibility=
"invisible" />
147 android:
layout_width=
"match_parent"
148 android:
layout_height=
"wrap_content">
151 android:
id=
"@+id/buttons_layout"
152 android:
layout_width=
"match_parent"
153 android:
layout_height=
"wrap_content"
154 android:
weightSum=
"1" >
157 android:
id=
"@+id/buttonCancel"
158 android:
layout_width=
"match_parent"
159 android:
layout_height=
"wrap_content"
160 android:
layout_weight=
".5"
161 android:
onClick=
"onCancelClick"
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" />
177 android:
id=
"@+id/account_register"
178 android:
layout_width=
"wrap_content"
179 android:
layout_height=
"wrap_content"
180 android:
layout_below=
"@id/buttons_layout"
181 android:
layout_centerHorizontal=
"true"
182 android:
onClick=
"onRegisterClick"
183 android:
paddingTop=
"10dp"
184 android:
paddingBottom=
"10dp"
185 android:
textColor=
"#0000FF"
186 android:
background=
"@android:color/transparent" />
187 <!-- android:
text=
"@string/app_name @string/auth_register" /--
>