mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Use a material form field for username
This commit is contained in:
parent
99512da7a6
commit
07dd272708
1 changed files with 16 additions and 7 deletions
|
|
@ -42,16 +42,25 @@
|
||||||
android:layout_height="48dp"
|
android:layout_height="48dp"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<EditText
|
<android.support.design.widget.TextInputLayout
|
||||||
android:id="@+id/loginUsername"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:hint="@string/username"
|
|
||||||
android:inputType="textNoSuggestions"
|
|
||||||
android:imeOptions="flagNoExtractUi"
|
|
||||||
>
|
>
|
||||||
<requestFocus />
|
|
||||||
</EditText>
|
<android.support.design.widget.TextInputEditText
|
||||||
|
android:id="@+id/loginUsername"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:hint="@string/username"
|
||||||
|
android:imeOptions="flagNoExtractUi"
|
||||||
|
android:inputType="textNoSuggestions"
|
||||||
|
>
|
||||||
|
|
||||||
|
<requestFocus/>
|
||||||
|
|
||||||
|
</android.support.design.widget.TextInputEditText>
|
||||||
|
|
||||||
|
</android.support.design.widget.TextInputLayout>
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/loginPassword"
|
android:id="@+id/loginPassword"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue