Solve minor bug for password generator

This commit is contained in:
J-Jamet
2017-11-07 19:04:56 +01:00
parent 9864a2ce0e
commit 9710be42a7

View File

@@ -34,6 +34,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ems="10" android:ems="10"
android:maxLines="3"
android:hint="@string/hint_generated_password" /> android:hint="@string/hint_generated_password" />
<Button android:id="@+id/generate_password_button" <Button android:id="@+id/generate_password_button"
@@ -62,12 +63,13 @@
android:layout_width="match_parent" /> android:layout_width="match_parent" />
<EditText android:id="@+id/length" <EditText android:id="@+id/length"
android:layout_width="60dp" android:layout_width="50dp"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/length_label" android:layout_below="@+id/length_label"
android:maxLines="1" android:maxLines="1"
android:maxLength="3"
android:inputType="number" android:inputType="number"
android:text="@integer/default_password_length" android:text="@integer/default_password_length"
android:hint="@string/hint_length"/> android:hint="@string/hint_length"/>