(Once more) fix minimum height of mode name edit box for a11y

We had fixed this before and then regressed when moving to TextInputLayout, so added a proper test this time.

Fixes: 380207192
Test: atest ZenModeEditNamePreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Ic25b0a5a6997e7b3bb26bf26ed7e8e92654a1c11
This commit is contained in:
Matías Hernández
2024-12-02 16:06:58 +01:00
parent 01043fdf93
commit b3468ca88a
2 changed files with 23 additions and 4 deletions

View File

@@ -41,6 +41,7 @@
android:id="@android:id/edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp"
android:maxLines="1"
android:inputType="text|textCapSentences"
android:imeOptions="actionDone"