Skip to content

Commit

Permalink
Jelly: Wrap homepage EditText in TextInputLayout
Browse files Browse the repository at this point in the history
Change-Id: I5106cdc132e054c3f12c63f779c274b9d16f0323
  • Loading branch information
SaeedDev94 authored and luca020400 committed Jan 12, 2025
1 parent 0e1a72b commit edd9612
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions app/src/main/res/layout/dialog_homepage_edit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@
android:layout_height="wrap_content"
android:text="@string/pref_start_page_autoload_enabled" />

<EditText
android:id="@+id/homepageUrlEditText"
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/pref_start_page"
android:importantForAutofill="no"
android:inputType="textUri"
android:maxLines="1" />
android:layout_height="wrap_content">

<EditText
android:id="@+id/homepageUrlEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/pref_start_page"
android:importantForAutofill="no"
android:inputType="textUri"
android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>

</LinearLayout>

0 comments on commit edd9612

Please sign in to comment.