Consolidate edittext alert dialogs into one layout

This commit is contained in:
TacoTheDank 2021-07-27 13:31:58 -04:00
parent 8371a508a2
commit bf7d98f359
6 changed files with 44 additions and 52 deletions

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<EditText
android:id="@+id/playlist_name_edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:hint="@string/name"
android:importantForAutofill="no"
android:inputType="text"
android:maxLines="1" />
</LinearLayout>

View file

@ -8,14 +8,11 @@
android:paddingRight="@dimen/video_item_search_padding">
<EditText
android:id="@+id/playlist_name"
android:id="@+id/dialogEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="6dp"
android:hint="@string/name"
android:inputType="text"
android:maxLines="1"
android:saveEnabled="true" />
android:maxLines="1" />
</RelativeLayout>