Commit 3609bb65 authored by Joey's avatar Joey

insulin: fix name input field

* Disable autofill suggestions
* Do not allow the user to input more than 1 line
Signed-off-by: Joey's avatarJoey <bevilacquajoey@gmail.com>
Change-Id: I4786a49a670c6f6ea7a4a6bc58703aabc593d826
parent 7df1fb90
......@@ -8,6 +8,7 @@
-->
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minWidth="288dp"
......@@ -43,10 +44,12 @@
android:layout_height="48dp"
android:layout_marginStart="16dp"
android:hint="@string/insulin_editor_name"
android:maxLines="1"
android:importantForAutofill="no"
android:singleLine="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/insulin_edit_icon_name"
app:layout_constraintTop_toTopOf="@id/insulin_edit_icon_name" />
app:layout_constraintTop_toTopOf="@id/insulin_edit_icon_name"
tools:targetApi="26" />
<ImageView
android:id="@+id/insulin_edit_icon_time"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment