|
@@ -1,494 +1,265 @@ |
|
1 |
+ |
<LinearLayout |
|
2 |
+ |
xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 |
+ |
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
4 |
+ |
android:layout_width="match_parent" |
|
5 |
+ |
android:layout_height="match_parent" |
|
6 |
+ |
android:orientation="vertical"> |
|
7 |
+ |
|
|
8 |
+ |
<include |
|
9 |
+ |
android:id="@+id/toolbar" |
|
10 |
+ |
android:layout_height="wrap_content" |
|
11 |
+ |
android:layout_width="match_parent" |
|
12 |
+ |
layout="@layout/toolbar_color" /> |
1 |
13 |
|
|
2 |
|
- |
|
3 |
|
- |
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
|
14 |
+ |
<ScrollView |
4 |
15 |
|
android:id="@+id/ScrollView01" |
5 |
|
- |
android:layout_width="fill_parent" |
6 |
|
- |
android:layout_height="fill_parent"> |
7 |
|
- |
tools:context="it.fedeloper.smartcharging.Controller.LoginActivity"> |
8 |
|
- |
|
9 |
|
- |
|
10 |
|
- |
|
11 |
|
- |
<LinearLayout |
12 |
|
- |
android:orientation="vertical" |
13 |
16 |
|
android:layout_width="match_parent" |
14 |
17 |
|
android:layout_height="match_parent" |
15 |
|
- |
android:measureWithLargestChild="false"> |
16 |
|
- |
|
17 |
|
- |
<LinearLayout |
18 |
|
- |
android:orientation="horizontal" |
19 |
|
- |
android:layout_width="match_parent" |
20 |
|
- |
android:layout_height="wrap_content" |
21 |
|
- |
android:layout_marginLeft="40dp" |
22 |
|
- |
android:layout_marginRight="40dp" |
23 |
|
- |
android:background="#f0f0f0" |
24 |
|
- |
android:layout_marginTop="10dp"> |
25 |
|
- |
|
26 |
|
- |
<TextView |
27 |
|
- |
android:layout_width="wrap_content" |
28 |
|
- |
android:layout_height="wrap_content" |
29 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
30 |
|
- |
android:text="@string/nome" |
31 |
|
- |
android:id="@+id/textView" |
32 |
|
- |
android:layout_alignTop="@+id/editText" |
33 |
|
- |
android:layout_alignParentLeft="true" |
34 |
|
- |
android:layout_alignParentStart="true" |
35 |
|
- |
android:background="#f0f0f0" |
36 |
|
- |
android:layout_gravity="center_vertical" |
37 |
|
- |
android:textColor="#574a67" |
38 |
|
- |
android:layout_marginLeft="20dp" |
39 |
|
- |
android:layout_marginRight="20dp" /> |
40 |
|
- |
|
41 |
|
- |
<EditText |
42 |
|
- |
android:layout_width="match_parent" |
43 |
|
- |
android:layout_height="50dp" |
44 |
|
- |
android:id="@+id/editText2" |
45 |
|
- |
android:layout_below="@+id/textView" |
46 |
|
- |
android:layout_alignParentLeft="true" |
47 |
|
- |
android:layout_alignParentStart="true" |
48 |
|
- |
|
49 |
|
- |
android:layout_alignParentRight="true" |
50 |
|
- |
android:layout_alignParentEnd="false" |
51 |
|
- |
android:background="#f0f0f0" |
52 |
|
- |
android:singleLine="true" /> |
53 |
|
- |
</LinearLayout> |
54 |
|
- |
|
55 |
|
- |
<LinearLayout |
56 |
|
- |
android:orientation="horizontal" |
57 |
|
- |
android:layout_width="match_parent" |
58 |
|
- |
android:layout_height="wrap_content" |
59 |
|
- |
android:layout_marginLeft="40dp" |
60 |
|
- |
android:layout_marginRight="40dp" |
61 |
|
- |
android:background="#f0f0f0" |
62 |
|
- |
android:layout_marginTop="10dp" > |
63 |
|
- |
|
64 |
|
- |
<TextView |
65 |
|
- |
android:layout_width="wrap_content" |
66 |
|
- |
android:layout_height="wrap_content" |
67 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
68 |
|
- |
android:text="@string/cognome" |
69 |
|
- |
android:id="@+id/textView29" |
70 |
|
- |
android:layout_alignTop="@+id/editText" |
71 |
|
- |
android:layout_alignParentLeft="true" |
72 |
|
- |
android:layout_alignParentStart="true" |
73 |
|
- |
android:background="#f0f0f0" |
74 |
|
- |
android:layout_gravity="center_vertical" |
75 |
|
- |
android:textColor="#574a67" |
76 |
|
- |
android:layout_marginLeft="20dp" |
77 |
|
- |
android:layout_marginRight="20dp" /> |
78 |
|
- |
|
79 |
|
- |
<EditText |
80 |
|
- |
android:layout_width="match_parent" |
81 |
|
- |
android:layout_height="50dp" |
82 |
|
- |
android:id="@+id/editText18" |
83 |
|
- |
android:layout_below="@+id/textView29" |
84 |
|
- |
android:layout_alignParentLeft="true" |
85 |
|
- |
android:layout_alignParentStart="true" |
86 |
|
- |
android:layout_alignParentRight="true" |
87 |
|
- |
android:layout_alignParentEnd="false" |
88 |
|
- |
android:background="#f0f0f0" |
89 |
|
- |
android:singleLine="true" /> |
90 |
|
- |
</LinearLayout> |
91 |
|
- |
|
92 |
|
- |
<LinearLayout |
93 |
|
- |
android:orientation="horizontal" |
94 |
|
- |
android:layout_width="match_parent" |
95 |
|
- |
android:layout_height="match_parent" |
96 |
|
- |
android:layout_marginRight="40dp" |
97 |
|
- |
android:layout_marginLeft="40dp" |
98 |
|
- |
android:layout_gravity="center_vertical" |
99 |
|
- |
android:background="#f0f0f0" |
100 |
|
- |
android:layout_marginTop="10dp"> |
101 |
|
- |
|
102 |
|
- |
<TextView |
103 |
|
- |
android:layout_width="wrap_content" |
104 |
|
- |
android:layout_height="wrap_content" |
105 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
106 |
|
- |
android:text="@string/num_telefono" |
107 |
|
- |
android:id="@+id/textView2" |
108 |
|
- |
android:layout_below="@+id/editText2" |
109 |
|
- |
android:layout_alignParentLeft="true" |
110 |
|
- |
android:layout_alignParentStart="true" |
111 |
|
- |
android:layout_gravity="center_vertical" |
112 |
|
- |
android:background="#f0f0f0" |
113 |
|
- |
android:textColor="#574a67" |
114 |
|
- |
android:layout_marginLeft="20dp" |
115 |
|
- |
android:layout_marginRight="20dp" /> |
116 |
|
- |
|
117 |
|
- |
<EditText |
118 |
|
- |
android:layout_width="match_parent" |
119 |
|
- |
android:layout_height="50dp" |
120 |
|
- |
android:inputType="number" |
121 |
|
- |
android:ems="10" |
122 |
|
- |
android:id="@+id/editText4" |
123 |
|
- |
android:layout_below="@+id/textView2" |
124 |
|
- |
android:layout_alignParentLeft="true" |
125 |
|
- |
android:layout_alignParentStart="true" |
126 |
|
- |
android:layout_alignRight="@+id/editText" |
127 |
|
- |
android:layout_alignEnd="@+id/editText" |
128 |
|
- |
android:background="#f0f0f0" |
129 |
|
- |
android:singleLine="true" /> |
130 |
|
- |
</LinearLayout> |
131 |
|
- |
|
132 |
|
- |
<LinearLayout |
133 |
|
- |
android:orientation="horizontal" |
134 |
|
- |
android:layout_width="match_parent" |
135 |
|
- |
android:layout_height="match_parent" |
136 |
|
- |
android:layout_marginLeft="40dp" |
137 |
|
- |
android:layout_marginRight="40dp" |
138 |
|
- |
android:background="#f0f0f0" |
139 |
|
- |
android:layout_marginTop="10dp"> |
140 |
|
- |
|
141 |
|
- |
<TextView |
142 |
|
- |
android:layout_width="wrap_content" |
143 |
|
- |
android:layout_height="wrap_content" |
144 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
145 |
|
- |
android:text="@string/email" |
146 |
|
- |
android:id="@+id/textView8" |
147 |
|
- |
android:layout_centerVertical="true" |
148 |
|
- |
android:layout_alignParentLeft="true" |
149 |
|
- |
android:layout_alignParentStart="true" |
150 |
|
- |
android:background="#f0f0f0" |
151 |
|
- |
android:layout_gravity="center_vertical" |
152 |
|
- |
android:textColor="#574a67" |
153 |
|
- |
android:layout_marginLeft="20dp" |
154 |
|
- |
android:layout_marginRight="20dp" /> |
155 |
|
- |
|
156 |
|
- |
<EditText |
157 |
|
- |
android:layout_width="match_parent" |
158 |
|
- |
android:layout_height="50dp" |
159 |
|
- |
android:id="@+id/editText5" |
160 |
|
- |
android:layout_below="@+id/textView5" |
161 |
|
- |
android:layout_alignParentLeft="true" |
162 |
|
- |
android:layout_alignParentStart="true" |
163 |
|
- |
android:layout_alignRight="@+id/editText" |
164 |
|
- |
android:layout_alignEnd="@+id/editText" |
165 |
|
- |
android:background="#f0f0f0" |
166 |
|
- |
android:singleLine="true" /> |
167 |
|
- |
</LinearLayout> |
168 |
|
- |
|
169 |
|
- |
<LinearLayout |
170 |
|
- |
android:orientation="horizontal" |
171 |
|
- |
android:layout_width="match_parent" |
172 |
|
- |
android:layout_height="wrap_content" |
173 |
|
- |
android:weightSum="1" |
174 |
|
- |
android:layout_gravity="center_horizontal" |
175 |
|
- |
android:layout_marginLeft="40dp" |
176 |
|
- |
android:layout_marginRight="40dp" |
177 |
|
- |
android:background="#f0f0f0" |
178 |
|
- |
android:layout_marginTop="10dp"> |
179 |
|
- |
|
180 |
|
- |
<TextView |
181 |
|
- |
android:layout_width="wrap_content" |
182 |
|
- |
android:layout_height="wrap_content" |
183 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
184 |
|
- |
android:text="@string/username" |
185 |
|
- |
android:id="@+id/textView10" |
186 |
|
- |
android:layout_alignParentLeft="true" |
187 |
|
- |
android:layout_alignParentStart="true" |
188 |
|
- |
android:layout_below="@+id/editText5" |
189 |
|
- |
android:background="#f0f0f0" |
190 |
|
- |
android:layout_gravity="center_vertical" |
191 |
|
- |
android:textColor="#574a67" |
192 |
|
- |
android:layout_marginLeft="20dp" |
193 |
|
- |
android:layout_marginRight="20dp" /> |
194 |
|
- |
|
195 |
|
- |
<EditText |
196 |
|
- |
android:layout_width="match_parent" |
197 |
|
- |
android:layout_height="50dp" |
198 |
|
- |
android:id="@+id/editText8" |
199 |
|
- |
android:layout_below="@+id/textView5" |
200 |
|
- |
android:layout_alignParentLeft="true" |
201 |
|
- |
android:layout_alignParentStart="true" |
202 |
|
- |
android:layout_alignRight="@+id/editText7" |
203 |
|
- |
android:layout_alignEnd="@+id/editText7" |
204 |
|
- |
android:background="#f0f0f0" |
205 |
|
- |
android:singleLine="true" /> |
206 |
|
- |
</LinearLayout> |
207 |
|
- |
|
208 |
|
- |
<LinearLayout |
209 |
|
- |
android:orientation="horizontal" |
210 |
|
- |
android:layout_width="match_parent" |
211 |
|
- |
android:layout_height="match_parent" |
212 |
|
- |
android:layout_marginLeft="40dp" |
213 |
|
- |
android:layout_marginRight="40dp" |
214 |
|
- |
android:background="#f0f0f0" |
215 |
|
- |
android:layout_marginTop="10dp"> |
216 |
|
- |
|
217 |
|
- |
<TextView |
218 |
|
- |
android:layout_width="wrap_content" |
219 |
|
- |
android:layout_height="wrap_content" |
220 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
221 |
|
- |
android:text="@string/password" |
222 |
|
- |
android:id="@+id/textView6" |
223 |
|
- |
android:layout_below="@+id/editText6" |
224 |
|
- |
android:layout_alignParentLeft="true" |
225 |
|
- |
android:layout_alignParentStart="true" |
226 |
|
- |
android:layout_gravity="center_vertical" |
227 |
|
- |
android:background="#f0f0f0" |
228 |
|
- |
android:textColor="#574a67" |
229 |
|
- |
android:layout_marginLeft="20dp" |
230 |
|
- |
android:layout_marginRight="20dp" /> |
231 |
|
- |
|
232 |
|
- |
<EditText |
233 |
|
- |
android:layout_width="match_parent" |
234 |
|
- |
android:layout_height="50dp" |
235 |
|
- |
android:inputType="textPassword" |
236 |
|
- |
android:ems="10" |
237 |
|
- |
android:id="@+id/editText7" |
238 |
|
- |
android:layout_below="@+id/textView6" |
239 |
|
- |
android:layout_alignParentLeft="true" |
240 |
|
- |
android:layout_alignParentStart="true" |
241 |
|
- |
android:layout_alignRight="@+id/editText" |
242 |
|
- |
android:layout_alignEnd="@+id/editText" |
243 |
|
- |
android:background="#f0f0f0" |
244 |
|
- |
android:singleLine="true" /> |
245 |
|
- |
</LinearLayout> |
246 |
|
- |
|
247 |
|
- |
<TextView |
248 |
|
- |
android:layout_width="wrap_content" |
249 |
|
- |
android:layout_height="wrap_content" |
250 |
|
- |
android:text="@string/avatar" |
251 |
|
- |
android:id="@+id/textView4" |
252 |
|
- |
android:layout_gravity="center_horizontal" |
253 |
|
- |
android:layout_marginTop="10dp" |
254 |
|
- |
android:textColor="#574a67" /> |
255 |
|
- |
|
256 |
|
- |
<it.fedeloper.smartcharging.View.RoundedImageView |
257 |
|
- |
android:layout_width="70dp" |
258 |
|
- |
android:layout_height="70dp" |
259 |
|
- |
android:id="@+id/avatarImage" |
260 |
|
- |
android:layout_gravity="center_horizontal" |
261 |
|
- |
android:onClick="avatarclick" |
262 |
|
- |
android:scaleType="fitCenter" |
263 |
|
- |
android:background="#f0f0f0" /> |
|
18 |
+ |
android:paddingBottom="@dimen/space_16dp"> |
264 |
19 |
|
|
265 |
20 |
|
<LinearLayout |
266 |
21 |
|
android:orientation="vertical" |
267 |
22 |
|
android:layout_width="match_parent" |
268 |
|
- |
android:layout_height="wrap_content"> |
|
23 |
+ |
android:layout_height="wrap_content" |
|
24 |
+ |
android:layout_margin="@dimen/space_16dp"> |
269 |
25 |
|
|
270 |
26 |
|
<RadioGroup |
271 |
27 |
|
android:layout_width="match_parent" |
272 |
28 |
|
android:layout_height="wrap_content" |
273 |
29 |
|
android:layout_gravity="center_horizontal" |
274 |
|
- |
android:layout_marginLeft="40dp" |
275 |
|
- |
android:layout_marginRight="40dp"> |
276 |
|
- |
|
|
30 |
+ |
android:layout_marginBottom="@dimen/space_16dp"> |
277 |
31 |
|
<RadioButton |
278 |
32 |
|
android:layout_width="wrap_content" |
279 |
33 |
|
android:layout_height="wrap_content" |
280 |
34 |
|
android:text="@string/utente" |
281 |
|
- |
android:id="@+id/radioButton" |
|
35 |
+ |
android:id="@+id/user_type_radio" |
282 |
36 |
|
android:checked="true" |
283 |
37 |
|
android:onClick="radioutente" |
284 |
38 |
|
android:textColor="#574a67" /> |
285 |
|
- |
|
286 |
39 |
|
<RadioButton |
287 |
40 |
|
android:layout_width="wrap_content" |
288 |
41 |
|
android:layout_height="wrap_content" |
289 |
42 |
|
android:text="@string/gestore_locale" |
290 |
|
- |
android:id="@+id/radioButton2" |
|
43 |
+ |
android:id="@+id/local_type_radio" |
291 |
44 |
|
android:checked="false" |
292 |
45 |
|
android:onClick="radiolocale" |
293 |
46 |
|
android:textColor="#574a67" /> |
294 |
|
- |
|
295 |
47 |
|
</RadioGroup> |
296 |
48 |
|
|
297 |
|
- |
</LinearLayout> |
298 |
|
- |
|
299 |
|
- |
<LinearLayout |
300 |
|
- |
android:orientation="vertical" |
301 |
|
- |
android:layout_width="match_parent" |
302 |
|
- |
android:layout_height="wrap_content" |
303 |
|
- |
android:id="@+id/locale" |
304 |
|
- |
android:visibility="gone" |
305 |
|
- |
android:layout_marginLeft="40dp" |
306 |
|
- |
android:layout_marginRight="40dp"> |
307 |
|
- |
|
308 |
|
- |
<LinearLayout |
309 |
|
- |
android:orientation="horizontal" |
|
49 |
+ |
<!-- Nome --> |
|
50 |
+ |
<android.support.design.widget.TextInputLayout |
|
51 |
+ |
android:id="@+id/to_text_input_layout" |
310 |
52 |
|
android:layout_width="match_parent" |
311 |
|
- |
android:layout_height="match_parent" |
312 |
|
- |
android:background="#f0f0f0" |
313 |
|
- |
android:layout_marginBottom="10dp"> |
|
53 |
+ |
android:layout_height="wrap_content"> |
|
54 |
+ |
<EditText |
|
55 |
+ |
android:layout_width="match_parent" |
|
56 |
+ |
android:layout_height="wrap_content" |
|
57 |
+ |
android:id="@+id/editText2" |
|
58 |
+ |
android:hint="@string/nome" |
|
59 |
+ |
android:singleLine="true" /> |
|
60 |
+ |
</android.support.design.widget.TextInputLayout> |
314 |
61 |
|
|
315 |
|
- |
<TextView |
316 |
|
- |
android:layout_width="wrap_content" |
|
62 |
+ |
<!-- Cognome --> |
|
63 |
+ |
<android.support.design.widget.TextInputLayout |
|
64 |
+ |
android:id="@+id/to_text_input_layout" |
|
65 |
+ |
android:layout_width="match_parent" |
|
66 |
+ |
android:layout_height="wrap_content"> |
|
67 |
+ |
<EditText |
|
68 |
+ |
android:layout_width="match_parent" |
317 |
69 |
|
android:layout_height="wrap_content" |
318 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
319 |
|
- |
android:text="@string/nome_locale" |
320 |
|
- |
android:id="@+id/textView3" |
321 |
|
- |
android:layout_alignParentStart="true" |
322 |
|
- |
android:layout_above="@+id/editText8" |
323 |
|
- |
android:layout_alignParentLeft="true" |
324 |
|
- |
android:textColor="#574a67" |
325 |
|
- |
android:background="#f0f0f0" |
326 |
|
- |
android:layout_marginLeft="20dp" |
327 |
|
- |
android:layout_marginRight="20dp" |
328 |
|
- |
android:layout_gravity="center_vertical" /> |
|
70 |
+ |
android:hint="@string/cognome" |
|
71 |
+ |
android:id="@+id/editText18" |
|
72 |
+ |
android:singleLine="true" /> |
|
73 |
+ |
</android.support.design.widget.TextInputLayout> |
329 |
74 |
|
|
|
75 |
+ |
|
|
76 |
+ |
<!-- Numero Telefono --> |
|
77 |
+ |
<android.support.design.widget.TextInputLayout |
|
78 |
+ |
android:id="@+id/to_text_input_layout" |
|
79 |
+ |
android:layout_width="match_parent" |
|
80 |
+ |
android:layout_height="wrap_content"> |
330 |
81 |
|
<EditText |
331 |
82 |
|
android:layout_width="match_parent" |
332 |
|
- |
android:layout_height="50dp" |
333 |
|
- |
android:id="@+id/editText11" |
334 |
|
- |
android:layout_below="@+id/textView4" |
335 |
|
- |
android:layout_alignParentLeft="true" |
336 |
|
- |
android:layout_alignParentStart="true" |
337 |
|
- |
android:layout_alignParentRight="true" |
338 |
|
- |
android:layout_alignParentEnd="true" |
339 |
|
- |
android:background="#f0f0f0" |
|
83 |
+ |
android:layout_height="wrap_content" |
|
84 |
+ |
android:inputType="number" |
|
85 |
+ |
android:hint="@string/num_telefono" |
|
86 |
+ |
android:ems="10" |
|
87 |
+ |
android:id="@+id/editText4" |
340 |
88 |
|
android:singleLine="true" /> |
341 |
|
- |
</LinearLayout> |
|
89 |
+ |
</android.support.design.widget.TextInputLayout> |
342 |
90 |
|
|
343 |
|
- |
<LinearLayout |
344 |
|
- |
android:orientation="horizontal" |
|
91 |
+ |
<!--Email--> |
|
92 |
+ |
<android.support.design.widget.TextInputLayout |
|
93 |
+ |
android:id="@+id/to_text_input_layout" |
345 |
94 |
|
android:layout_width="match_parent" |
346 |
|
- |
android:layout_height="match_parent" |
347 |
|
- |
android:background="#f0f0f0" |
348 |
|
- |
android:layout_marginBottom="10dp" > |
|
95 |
+ |
android:layout_height="wrap_content"> |
|
96 |
+ |
<EditText |
|
97 |
+ |
android:layout_width="match_parent" |
|
98 |
+ |
android:layout_height="wrap_content" |
|
99 |
+ |
android:hint="@string/email" |
|
100 |
+ |
android:id="@+id/editText5" |
|
101 |
+ |
android:singleLine="true" /> |
|
102 |
+ |
</android.support.design.widget.TextInputLayout> |
349 |
103 |
|
|
350 |
|
- |
<TextView |
351 |
|
- |
android:layout_width="wrap_content" |
|
104 |
+ |
<!--Username--> |
|
105 |
+ |
<android.support.design.widget.TextInputLayout |
|
106 |
+ |
android:id="@+id/to_text_input_layout" |
|
107 |
+ |
android:layout_width="match_parent" |
|
108 |
+ |
android:layout_height="wrap_content"> |
|
109 |
+ |
<EditText |
|
110 |
+ |
android:layout_width="match_parent" |
352 |
111 |
|
android:layout_height="wrap_content" |
353 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
354 |
|
- |
android:text="@string/sito_web" |
355 |
|
- |
android:id="@+id/textView19" |
356 |
|
- |
android:layout_alignParentStart="true" |
357 |
|
- |
android:layout_above="@+id/editText8" |
358 |
|
- |
android:layout_alignParentLeft="true" |
359 |
|
- |
android:textColor="#574a67" |
360 |
|
- |
android:background="#f0f0f0" |
361 |
|
- |
android:layout_marginLeft="20dp" |
362 |
|
- |
android:layout_marginRight="20dp" |
363 |
|
- |
android:layout_gravity="center_vertical" /> |
|
112 |
+ |
android:hint="@string/username" |
|
113 |
+ |
android:id="@+id/editText8" |
|
114 |
+ |
android:singleLine="true" /> |
|
115 |
+ |
</android.support.design.widget.TextInputLayout> |
364 |
116 |
|
|
|
117 |
+ |
<!-- Password --> |
|
118 |
+ |
<android.support.design.widget.TextInputLayout |
|
119 |
+ |
android:id="@+id/to_text_input_layout" |
|
120 |
+ |
android:layout_width="match_parent" |
|
121 |
+ |
android:layout_height="wrap_content"> |
365 |
122 |
|
<EditText |
366 |
123 |
|
android:layout_width="match_parent" |
367 |
|
- |
android:layout_height="50dp" |
368 |
|
- |
android:id="@+id/editText12" |
369 |
|
- |
android:layout_below="@+id/textView4" |
370 |
|
- |
android:layout_alignParentLeft="true" |
371 |
|
- |
android:layout_alignParentStart="true" |
372 |
|
- |
android:layout_alignParentRight="true" |
373 |
|
- |
android:layout_alignParentEnd="true" |
374 |
|
- |
android:background="#f0f0f0" |
|
124 |
+ |
android:layout_height="wrap_content" |
|
125 |
+ |
android:inputType="textPassword" |
|
126 |
+ |
android:hint="@string/password" |
|
127 |
+ |
android:ems="10" |
|
128 |
+ |
android:id="@+id/editText7" |
375 |
129 |
|
android:singleLine="true" /> |
376 |
|
- |
</LinearLayout> |
|
130 |
+ |
</android.support.design.widget.TextInputLayout> |
377 |
131 |
|
|
378 |
|
- |
<LinearLayout |
379 |
|
- |
android:orientation="vertical" |
|
132 |
+ |
<RelativeLayout |
|
133 |
+ |
android:layout_marginTop="@dimen/space_16dp" |
380 |
134 |
|
android:layout_width="match_parent" |
381 |
|
- |
android:layout_height="match_parent" |
382 |
|
- |
android:background="@drawable/back"> |
|
135 |
+ |
android:layout_height="wrap_content"> |
|
136 |
+ |
|
383 |
137 |
|
|
384 |
|
- |
<TextView |
|
138 |
+ |
|
|
139 |
+ |
<it.fedeloper.smartcharging.View.RoundedImageView |
|
140 |
+ |
android:layout_width="70dp" |
|
141 |
+ |
android:layout_height="70dp" |
|
142 |
+ |
android:src="@drawable/avatar_placeholder" |
|
143 |
+ |
android:layout_marginRight="@dimen/space_16dp" |
|
144 |
+ |
android:id="@+id/avatarImage" |
|
145 |
+ |
android:scaleType="fitCenter" /> |
|
146 |
+ |
|
|
147 |
+ |
<Button |
|
148 |
+ |
android:text="@string/seleziona_avatar" |
|
149 |
+ |
android:layout_toRightOf="@id/avatarImage" |
|
150 |
+ |
style="@style/DefaultButtonRed" |
|
151 |
+ |
android:onClick="avatarclick" |
385 |
152 |
|
android:layout_width="wrap_content" |
386 |
|
- |
android:layout_height="wrap_content" |
387 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
388 |
|
- |
android:text="@string/descrizione_locale" |
389 |
|
- |
android:layout_centerVertical="true" |
390 |
|
- |
android:layout_alignParentLeft="true" |
391 |
|
- |
android:layout_alignParentStart="true" |
392 |
|
- |
android:textColor="#574a67" |
393 |
|
- |
android:background="#f0f0f0" |
394 |
|
- |
android:layout_marginTop="10dp" |
395 |
|
- |
android:layout_marginLeft="20dp" /> |
|
153 |
+ |
android:layout_height="wrap_content"/> |
|
154 |
+ |
</RelativeLayout> |
|
155 |
+ |
|
|
156 |
+ |
|
396 |
157 |
|
|
397 |
|
- |
<EditText |
398 |
|
- |
android:layout_width="match_parent" |
399 |
|
- |
android:layout_height="87dp" |
400 |
|
- |
android:id="@+id/editText15" |
401 |
|
- |
android:layout_below="@+id/textView5" |
402 |
|
- |
android:layout_alignParentLeft="true" |
403 |
|
- |
android:layout_alignParentStart="true" |
404 |
|
- |
android:layout_alignRight="@+id/editText" |
405 |
|
- |
android:layout_alignEnd="@+id/editText" /> |
406 |
|
- |
</LinearLayout> |
407 |
158 |
|
|
408 |
159 |
|
<LinearLayout |
409 |
|
- |
android:orientation="horizontal" |
|
160 |
+ |
android:orientation="vertical" |
410 |
161 |
|
android:layout_width="match_parent" |
411 |
|
- |
android:layout_height="match_parent" |
412 |
|
- |
android:background="#f0f0f0" |
413 |
|
- |
android:layout_marginTop="10dp"> |
|
162 |
+ |
android:layout_height="wrap_content" |
|
163 |
+ |
android:layout_marginTop="@dimen/space_16dp" |
|
164 |
+ |
android:id="@+id/locale"> |
|
165 |
+ |
|
|
166 |
+ |
<!-- NOME LOCALE--> |
|
167 |
+ |
<android.support.design.widget.TextInputLayout |
|
168 |
+ |
android:id="@+id/to_text_input_layout" |
|
169 |
+ |
android:layout_width="match_parent" |
|
170 |
+ |
android:layout_height="wrap_content"> |
|
171 |
+ |
<EditText |
|
172 |
+ |
android:layout_width="match_parent" |
|
173 |
+ |
android:layout_height="wrap_content" |
|
174 |
+ |
android:hint="@string/nome_locale" |
|
175 |
+ |
android:id="@+id/editText11" |
|
176 |
+ |
android:singleLine="true" /> |
|
177 |
+ |
</android.support.design.widget.TextInputLayout> |
414 |
178 |
|
|
415 |
|
- |
<TextView |
416 |
|
- |
android:layout_width="wrap_content" |
417 |
|
- |
android:layout_height="wrap_content" |
418 |
|
- |
android:textAppearance="?android:attr/textAppearanceSmall" |
419 |
|
- |
android:text="@string/tipologia" |
420 |
|
- |
android:layout_centerVertical="true" |
421 |
|
- |
android:layout_alignParentLeft="true" |
422 |
|
- |
android:layout_alignParentStart="true" |
423 |
|
- |
android:textColor="#574a67" |
424 |
|
- |
android:layout_gravity="center_vertical" |
425 |
|
- |
android:background="#f0f0f0" |
426 |
|
- |
android:layout_marginLeft="20dp" |
427 |
|
- |
android:layout_marginRight="20dp" /> |
428 |
179 |
|
|
429 |
|
- |
<Spinner |
|
180 |
+ |
|
|
181 |
+ |
<!-- SITO WBE--> |
|
182 |
+ |
<android.support.design.widget.TextInputLayout |
|
183 |
+ |
android:id="@+id/to_text_input_layout" |
430 |
184 |
|
android:layout_width="match_parent" |
431 |
|
- |
android:layout_height="50dp" |
432 |
|
- |
android:id="@+id/spinner" |
433 |
|
- |
android:spinnerMode="dialog" |
434 |
|
- |
android:background="#f0f0f0" /> |
435 |
|
- |
</LinearLayout> |
|
185 |
+ |
android:layout_height="wrap_content"> |
|
186 |
+ |
<EditText |
|
187 |
+ |
android:layout_width="match_parent" |
|
188 |
+ |
android:layout_height="wrap_content" |
|
189 |
+ |
android:id="@+id/editText12" |
|
190 |
+ |
android:hint="@string/sito_web" |
|
191 |
+ |
android:singleLine="true" /> |
|
192 |
+ |
</android.support.design.widget.TextInputLayout> |
|
193 |
+ |
|
|
194 |
+ |
<!-- DESCRIZIONE --> |
|
195 |
+ |
<android.support.design.widget.TextInputLayout |
|
196 |
+ |
android:id="@+id/to_text_input_layout" |
|
197 |
+ |
android:layout_width="match_parent" |
|
198 |
+ |
android:layout_height="wrap_content"> |
|
199 |
+ |
<EditText |
|
200 |
+ |
android:layout_width="match_parent" |
|
201 |
+ |
android:layout_height="wrap_content" |
|
202 |
+ |
android:id="@+id/editText15" |
|
203 |
+ |
android:hint="@string/descrizione_locale" |
|
204 |
+ |
android:inputType="textMultiLine"/> |
|
205 |
+ |
</android.support.design.widget.TextInputLayout> |
436 |
206 |
|
|
437 |
|
- |
<HorizontalScrollView |
438 |
|
- |
android:layout_width="wrap_content" |
439 |
|
- |
android:layout_height="wrap_content" |
440 |
|
- |
android:id="@+id/horizontalScrollView" |
441 |
|
- |
android:layout_marginTop="10dp"> |
442 |
207 |
|
|
443 |
|
- |
<LinearLayout |
444 |
|
- |
android:orientation="horizontal" |
|
208 |
+ |
<fr.ganfra.materialspinner.MaterialSpinner |
|
209 |
+ |
android:layout_marginTop="10dp" |
445 |
210 |
|
android:layout_width="match_parent" |
446 |
|
- |
android:layout_height="match_parent" |
447 |
|
- |
android:weightSum="1" |
448 |
|
- |
android:id="@+id/imgs"> |
449 |
|
- |
|
450 |
|
- |
<Button |
451 |
|
- |
android:layout_width="80dp" |
452 |
|
- |
android:layout_height="80dp" |
453 |
|
- |
android:text="+" |
454 |
|
- |
android:id="@+id/button20" |
455 |
|
- |
android:layout_weight="0.26" |
456 |
|
- |
android:onClick="addimage" |
457 |
|
- |
android:textColor="#574a67" |
458 |
|
- |
android:background="@drawable/back" /> |
459 |
|
- |
</LinearLayout> |
460 |
|
- |
</HorizontalScrollView> |
|
211 |
+ |
app:ms_hint="@string/type_spinner_prompt" |
|
212 |
+ |
app:ms_multiline="false" |
|
213 |
+ |
android:layout_height="wrap_content" |
|
214 |
+ |
android:id="@+id/spinner"/> |
461 |
215 |
|
|
462 |
|
- |
</LinearLayout> |
|
216 |
+ |
<HorizontalScrollView |
|
217 |
+ |
android:layout_width="wrap_content" |
|
218 |
+ |
android:layout_height="wrap_content" |
|
219 |
+ |
android:id="@+id/horizontalScrollView" |
|
220 |
+ |
android:layout_marginTop="10dp"> |
463 |
221 |
|
|
464 |
|
- |
<Button |
465 |
|
- |
android:layout_width="match_parent" |
466 |
|
- |
android:layout_height="48dp" |
467 |
|
- |
android:text="@string/sendregistration_btn" |
468 |
|
- |
android:id="@+id/button3" |
469 |
|
- |
android:onClick="nextclick" |
470 |
|
- |
android:layout_alignParentBottom="true" |
471 |
|
- |
android:layout_toRightOf="@+id/textView2" |
472 |
|
- |
android:layout_toEndOf="@+id/textView2" |
473 |
|
- |
android:layout_marginLeft="30dp" |
474 |
|
- |
android:layout_marginStart="30dp" |
475 |
|
- |
android:layout_gravity="right" |
476 |
|
- |
android:textColor="#574a67" |
477 |
|
- |
android:elegantTextHeight="true" |
478 |
|
- |
android:background="@drawable/back" |
479 |
|
- |
android:layout_marginRight="40dp" |
480 |
|
- |
android:layout_marginTop="10dp" |
481 |
|
- |
android:layout_marginBottom="10dp" /> |
|
222 |
+ |
<LinearLayout |
|
223 |
+ |
android:orientation="horizontal" |
|
224 |
+ |
android:layout_width="match_parent" |
|
225 |
+ |
android:layout_height="match_parent" |
|
226 |
+ |
android:weightSum="1" |
|
227 |
+ |
android:id="@+id/imgs"> |
|
228 |
+ |
|
|
229 |
+ |
<Button |
|
230 |
+ |
android:layout_width="80dp" |
|
231 |
+ |
android:layout_height="80dp" |
|
232 |
+ |
android:text="+" |
|
233 |
+ |
android:id="@+id/button20" |
|
234 |
+ |
android:layout_weight="0.26" |
|
235 |
+ |
android:onClick="addimage" |
|
236 |
+ |
android:textColor="#574a67" |
|
237 |
+ |
android:background="@drawable/back" /> |
|
238 |
+ |
</LinearLayout> |
|
239 |
+ |
</HorizontalScrollView> |
482 |
240 |
|
|
483 |
|
- |
<LinearLayout |
484 |
|
- |
android:orientation="vertical" |
485 |
|
- |
android:layout_width="match_parent" |
486 |
|
- |
android:layout_height="match_parent" |
487 |
|
- |
android:layout_marginRight="40dp" |
488 |
|
- |
android:layout_marginLeft="40dp"> |
|
241 |
+ |
</LinearLayout> |
489 |
242 |
|
|
490 |
|
- |
</LinearLayout> |
|
243 |
+ |
<Button |
|
244 |
+ |
android:layout_width="match_parent" |
|
245 |
+ |
android:layout_height="48dp" |
|
246 |
+ |
android:text="@string/sendregistration_btn" |
|
247 |
+ |
android:id="@+id/button3" |
|
248 |
+ |
android:onClick="nextclick" |
|
249 |
+ |
style="@style/DefaultButtonRed" |
|
250 |
+ |
android:layout_marginTop="@dimen/space_16dp" |
|
251 |
+ |
android:layout_marginBottom="@dimen/space_16dp"/> |
491 |
252 |
|
|
492 |
|
- |
</LinearLayout> |
|
253 |
+ |
<LinearLayout |
|
254 |
+ |
android:orientation="vertical" |
|
255 |
+ |
android:layout_width="match_parent" |
|
256 |
+ |
android:layout_height="match_parent" |
|
257 |
+ |
android:layout_marginRight="40dp" |
|
258 |
+ |
android:layout_marginLeft="40dp"> |
|
259 |
+ |
|
|
260 |
+ |
</LinearLayout> |
|
261 |
+ |
|
|
262 |
+ |
</LinearLayout> |
493 |
263 |
|
|
494 |
|
- |
</ScrollView> |
|
264 |
+ |
</ScrollView> |
|
265 |
+ |
</LinearLayout> |