<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2012 Tobias Brunner
+ Copyright (C) 2012-2016 Tobias Brunner
Copyright (C) 2012 Giuliano Grassi
Copyright (C) 2012 Ralf Sager
- Hochschule fuer Technik Rapperswil
+ HSR Hochschule fuer Technik Rapperswil
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
-->
-<LinearLayout
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
- android:padding="5dp"
- xmlns:android="http://schemas.android.com/apk/res/android">
+ android:padding="10dp" >
- <TextView
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:text="@string/profile_username_label"
- android:textStyle="bold" />
-
- <EditText
- android:layout_height="wrap_content"
+ <android.support.design.widget.TextInputLayout
+ android:id="@+id/username_wrap"
android:layout_width="match_parent"
- android:id="@+id/username"
- android:enabled="false"
- android:inputType="none" />
+ android:layout_height="wrap_content" >
- <TextView
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:text="@string/profile_password_label"
- android:textStyle="bold" />
+ <android.support.design.widget.TextInputEditText
+ android:id="@+id/username"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:enabled="false"
+ android:inputType="none"
+ android:hint="@string/profile_username_label" />
- <EditText
- android:layout_height="wrap_content"
+ </android.support.design.widget.TextInputLayout>
+
+ <android.support.design.widget.TextInputLayout
+ android:id="@+id/password_wrap"
android:layout_width="match_parent"
- android:id="@+id/password"
- android:inputType="textPassword|textNoSuggestions"
- android:singleLine="true" />
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp" >
+
+ <android.support.design.widget.TextInputEditText
+ android:id="@+id/password"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:inputType="textPassword|textNoSuggestions"
+ android:hint="@string/profile_password_label" />
+
+ </android.support.design.widget.TextInputLayout>
</LinearLayout>