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 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
21 xmlns:
oc=
"http://schemas.android.com/apk/res/com.owncloud.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:
layout_width=
"match_parent"
38 android:
layout_height=
"match_parent" >
41 android:
id=
"@+id/imageView1"
42 android:
layout_width=
"match_parent"
43 android:
layout_height=
"match_parent"
44 android:
layout_margin=
"7dp"
45 android:
layout_weight=
"1"
46 android:
src=
"@drawable/owncloud_logo" />
49 android:
id=
"@+id/LinearLayout1"
50 android:
layout_width=
"match_parent"
51 android:
layout_height=
"wrap_content"
52 android:
layout_gravity=
"center"
53 android:
layout_weight=
"1"
54 android:
orientation=
"vertical" >
57 android:
layout_width=
"match_parent"
58 android:
layout_height=
"wrap_content"
59 android:
layout_weight=
"1" >
62 android:
id=
"@+id/host_URL"
63 android:
layout_width=
"match_parent"
64 android:
layout_height=
"wrap_content"
65 android:
layout_weight=
"1"
67 android:
hint=
"@string/auth_host_url"
68 android:
inputType=
"textNoSuggestions">
73 android:
id=
"@+id/refreshButton"
74 android:
layout_width=
"wrap_content"
75 android:
layout_height=
"wrap_content"
76 android:
layout_gravity=
"right|center_vertical"
77 android:
src=
"@drawable/ic_action_refresh_black"
78 android:
visibility=
"invisible" />
82 android:
layout_width=
"match_parent"
83 android:
layout_height=
"50dp"
84 android:
layout_weight=
"1" >
87 android:
id=
"@+id/action_indicator"
88 android:
layout_width=
"wrap_content"
89 android:
layout_height=
"wrap_content"
90 android:
layout_marginLeft=
"5dp"
91 android:
layout_marginRight=
"5dp"
92 android:
src=
"@android:drawable/stat_notify_sync"
93 android:
visibility=
"invisible" />
96 android:
id=
"@+id/status_text"
97 android:
layout_width=
"wrap_content"
98 android:
layout_height=
"wrap_content"
99 android:
text=
"TextView"
100 android:
visibility=
"invisible" />
104 android:
id=
"@+id/textView2"
105 android:
layout_width=
"wrap_content"
106 android:
layout_height=
"0dp"
107 android:
layout_weight=
"1"
108 android:
text=
"@string/auth_login_details"
109 android:
textAppearance=
"?android:attr/textAppearanceSmall" />
112 android:
id=
"@+id/account_username"
113 android:
layout_width=
"match_parent"
114 android:
layout_height=
"0dp"
115 android:
layout_weight=
"1"
117 android:
hint=
"@string/auth_username"
118 android:
inputType=
"textNoSuggestions" />
121 android:
layout_width=
"match_parent"
122 android:
layout_height=
"wrap_content"
123 android:
layout_weight=
"1" >
126 android:
id=
"@+id/account_password"
127 android:
layout_width=
"match_parent"
128 android:
layout_height=
"wrap_content"
129 android:
layout_weight=
"1"
131 android:
hint=
"@string/auth_password"
132 android:
inputType=
"textPassword"/>
135 android:
id=
"@+id/viewPassword"
136 android:
layout_width=
"wrap_content"
137 android:
layout_height=
"wrap_content"
138 android:
layout_gravity=
"right|center_vertical"
139 android:
src=
"@android:drawable/ic_menu_view"
140 android:
visibility=
"invisible" />
147 android:
layout_width=
"match_parent"
148 android:
layout_height=
"wrap_content"
149 android:
layout_alignParentBottom=
"true" >
152 android:
id=
"@+id/buttons_layout"
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:
onClick=
"onCancelClick"
163 android:
text=
"@string/common_cancel" />
166 android:
id=
"@+id/buttonOK"
167 android:
layout_width=
"match_parent"
168 android:
layout_height=
"wrap_content"
169 android:
layout_weight=
".5"
170 android:
enabled=
"false"
171 android:
onClick=
"onOkClick"
172 android:
text=
"@string/setup_btn_connect"
173 android:
textColor=
"@android:color/black" />
178 android:
id=
"@+id/account_register"
179 android:
layout_width=
"wrap_content"
180 android:
layout_height=
"wrap_content"
181 android:
layout_below=
"@id/buttons_layout"
182 android:
layout_centerHorizontal=
"true"
183 android:
onClick=
"onRegisterClick"
184 android:
paddingTop=
"10dp"
185 android:
paddingBottom=
"10dp"
186 android:
textColor=
"#0000FF"
187 android:
background=
"@android:color/transparent" />
188 <!-- android:
text=
"@string/app_name @string/auth_register" /--
>