Removed text notification about first instant upload only on line - not necessary...
[pub/Android/ownCloud.git] / res / layout / account_setup.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012 Bartek Przybylski
6 Copyright (C) 2012-2013 ownCloud Inc.
7
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.
11
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.
16
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/>.
19 -->
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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" >
26
27 <FrameLayout
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" >
34
35 <LinearLayout
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" >
42
43 <ImageView
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/owncloud_logo" />
50
51 <FrameLayout
52 android:layout_width="match_parent"
53 android:layout_height="wrap_content"
54 android:layout_weight="1" >
55
56 <EditText
57 android:id="@+id/host_URL"
58 android:layout_width="match_parent"
59 android:layout_height="wrap_content"
60 android:layout_weight="1"
61 android:ems="10"
62 android:hint="@string/auth_host_url"
63 android:inputType="textNoSuggestions" >
64 <requestFocus />
65 </EditText>
66
67 <ImageView
68 android:id="@+id/refreshButton"
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:src="@drawable/ic_action_refresh_black"
72 android:layout_gravity="right|center_vertical"
73 android:visibility="invisible" />
74
75 </FrameLayout>
76
77 <LinearLayout
78 android:layout_width="match_parent"
79 android:layout_height="50dp"
80 android:layout_weight="1" >
81
82 <ImageView
83 android:id="@+id/action_indicator"
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:layout_marginLeft="5dp"
87 android:layout_marginRight="5dp"
88 android:src="@android:drawable/stat_notify_sync"
89 android:visibility="invisible" />
90
91 <TextView
92 android:id="@+id/status_text"
93 android:layout_width="wrap_content"
94 android:layout_height="wrap_content"
95 android:text="TextView"
96 android:visibility="invisible" />
97
98 </LinearLayout>
99
100 <TextView
101 android:id="@+id/textView2"
102 android:layout_width="wrap_content"
103 android:layout_height="0dp"
104 android:layout_weight="1"
105 android:text="@string/auth_login_details"
106 android:textAppearance="?android:attr/textAppearanceSmall" />
107
108 <EditText
109 android:id="@+id/account_username"
110 android:layout_width="match_parent"
111 android:layout_height="0dp"
112 android:layout_weight="1"
113 android:ems="10"
114 android:hint="@string/auth_username"
115 android:inputType="textNoSuggestions" />
116
117 <FrameLayout
118 android:layout_width="match_parent"
119 android:layout_height="wrap_content"
120 android:layout_weight="1" >
121
122 <EditText
123 android:id="@+id/account_password"
124 android:layout_width="match_parent"
125 android:layout_height="wrap_content"
126 android:layout_weight="1"
127 android:ems="10"
128 android:hint="@string/auth_password"
129 android:inputType="textPassword"/>
130
131 <ImageView
132 android:id="@+id/viewPassword"
133 android:layout_width="wrap_content"
134 android:layout_height="wrap_content"
135 android:layout_gravity="right|center_vertical"
136 android:src="@android:drawable/ic_menu_view"
137 android:visibility="invisible" />
138
139 </FrameLayout>
140
141 </LinearLayout>
142
143 </FrameLayout>
144
145 <RelativeLayout
146 android:layout_width="match_parent"
147 android:layout_height="wrap_content">
148
149 <LinearLayout
150 android:id="@+id/buttons_layout"
151 android:layout_width="match_parent"
152 android:layout_height="wrap_content"
153 android:weightSum="1" >
154
155 <Button
156 android:id="@+id/buttonCancel"
157 android:layout_width="match_parent"
158 android:layout_height="wrap_content"
159 android:layout_weight=".5"
160 android:onClick="onCancelClick"
161 android:text="@string/common_cancel" />
162
163 <Button
164 android:id="@+id/buttonOK"
165 android:layout_width="match_parent"
166 android:layout_height="wrap_content"
167 android:layout_weight=".5"
168 android:enabled="false"
169 android:onClick="onOkClick"
170 android:text="@string/setup_btn_connect"
171 android:textColor="@android:color/black" />
172
173 </LinearLayout>
174
175 <Button
176 android:id="@+id/account_register"
177 android:layout_width="wrap_content"
178 android:layout_height="wrap_content"
179 android:layout_below="@id/buttons_layout"
180 android:layout_centerHorizontal="true"
181 android:onClick="onRegisterClick"
182 android:paddingTop="10dp"
183 android:paddingBottom="10dp"
184 android:textColor="#0000FF"
185 android:background="@android:color/transparent" />
186 <!-- android:text="@string/app_name @string/auth_register" /-->
187
188 </RelativeLayout>
189
190 </LinearLayout>