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 xmlns:
oc=
"http://schemas.android.com/apk/res/com.owncloud.android"
23 android:
layout_width=
"fill_parent"
24 android:
layout_height=
"fill_parent"
25 android:
focusable=
"true"
26 android:
gravity=
"center|fill"
27 android:
orientation=
"vertical" >
30 android:
layout_width=
"match_parent"
31 android:
layout_height=
"wrap_content"
32 android:
layout_gravity=
"center"
33 android:
layout_marginLeft=
"16dip"
34 android:
layout_marginRight=
"16dip"
35 android:
layout_weight=
"1" >
38 android:
layout_width=
"match_parent"
39 android:
layout_height=
"match_parent" >
42 android:
id=
"@+id/imageView1"
43 android:
layout_width=
"match_parent"
44 android:
layout_height=
"match_parent"
45 android:
layout_margin=
"7dp"
46 android:
layout_weight=
"1"
47 android:
src=
"@drawable/owncloud_logo" />
50 android:
id=
"@+id/LinearLayout1"
51 android:
layout_width=
"match_parent"
52 android:
layout_height=
"wrap_content"
53 android:
layout_gravity=
"center"
54 android:
layout_weight=
"1"
55 android:
orientation=
"vertical" >
58 android:
layout_width=
"match_parent"
59 android:
layout_height=
"wrap_content"
60 android:
layout_weight=
"1" >
63 android:
id=
"@+id/host_URL"
64 android:
layout_width=
"match_parent"
65 android:
layout_height=
"wrap_content"
66 android:
layout_weight=
"1"
68 android:
hint=
"@string/auth_host_url"
69 android:
inputType=
"textNoSuggestions">
74 android:
id=
"@+id/refreshButton"
75 android:
layout_width=
"wrap_content"
76 android:
layout_height=
"wrap_content"
77 android:
layout_gravity=
"right|center_vertical"
78 android:
src=
"@drawable/ic_action_refresh_black"
79 android:
visibility=
"invisible" />
83 android:
layout_width=
"match_parent"
84 android:
layout_height=
"50dp"
85 android:
layout_weight=
"1" >
88 android:
id=
"@+id/action_indicator"
89 android:
layout_width=
"wrap_content"
90 android:
layout_height=
"wrap_content"
91 android:
layout_marginLeft=
"5dp"
92 android:
layout_marginRight=
"5dp"
93 android:
src=
"@android:drawable/stat_notify_sync"
94 android:
visibility=
"invisible" />
97 android:
id=
"@+id/status_text"
98 android:
layout_width=
"wrap_content"
99 android:
layout_height=
"wrap_content"
100 android:
text=
"TextView"
101 android:
visibility=
"invisible" />
105 android:
id=
"@+id/textView2"
106 android:
layout_width=
"wrap_content"
107 android:
layout_height=
"0dp"
108 android:
layout_weight=
"1"
109 android:
text=
"@string/auth_login_details"
110 android:
textAppearance=
"?android:attr/textAppearanceSmall" />
113 android:
id=
"@+id/account_username"
114 android:
layout_width=
"match_parent"
115 android:
layout_height=
"0dp"
116 android:
layout_weight=
"1"
118 android:
hint=
"@string/auth_username"
119 android:
inputType=
"textNoSuggestions" />
122 android:
layout_width=
"match_parent"
123 android:
layout_height=
"wrap_content"
124 android:
layout_weight=
"1" >
127 android:
id=
"@+id/account_password"
128 android:
layout_width=
"match_parent"
129 android:
layout_height=
"wrap_content"
130 android:
layout_weight=
"1"
132 android:
hint=
"@string/auth_password"
133 android:
inputType=
"textPassword"/>
136 android:
id=
"@+id/viewPassword"
137 android:
layout_width=
"wrap_content"
138 android:
layout_height=
"wrap_content"
139 android:
layout_gravity=
"right|center_vertical"
140 android:
src=
"@android:drawable/ic_menu_view"
141 android:
visibility=
"invisible" />
148 android:
layout_width=
"match_parent"
149 android:
layout_height=
"wrap_content"
150 android:
layout_alignParentBottom=
"true" >
153 android:
id=
"@+id/buttons_layout"
154 android:
layout_width=
"match_parent"
155 android:
layout_height=
"wrap_content"
156 android:
weightSum=
"1">
159 android:
id=
"@+id/buttonCancel"
160 android:
layout_width=
"match_parent"
161 android:
layout_height=
"wrap_content"
162 android:
layout_weight=
".5"
163 android:
onClick=
"onCancelClick"
164 android:
text=
"@string/common_cancel" />
167 android:
id=
"@+id/buttonOK"
168 android:
layout_width=
"match_parent"
169 android:
layout_height=
"wrap_content"
170 android:
layout_weight=
".5"
171 android:
enabled=
"false"
172 android:
onClick=
"onOkClick"
173 android:
text=
"@string/setup_btn_connect"
174 android:
textColor=
"@android:color/black" />
179 android:
id=
"@+id/account_register"
180 android:
layout_width=
"wrap_content"
181 android:
layout_height=
"wrap_content"
182 android:
layout_below=
"@id/buttons_layout"
183 android:
layout_centerHorizontal=
"true"
184 android:
onClick=
"onRegisterClick"
185 android:
paddingTop=
"10dp"
186 android:
paddingBottom=
"10dp"
187 android:
textColor=
"#0000FF"
188 android:
background=
"@android:color/transparent" />
189 <!-- android:
text=
"@string/app_name @string/auth_register" /--
>