Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5158d8f9 authored by Bill Lin's avatar Bill Lin
Browse files

Fix Rename/New DialogFragment layout not meet Material Design

Refine TextInputLayout layout padding of dialog_file_name

Bug:118055451
Test: manual tap menu->New Folder
      manual select file->menu->Rename
      atest DocumentsUITests

Change-Id: Id93c0e2899313fe7a77d527807166dc7ffa168c9
parent 9fad6594
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -17,18 +17,22 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:fitsSystemWindows="true"
    android:padding="?android:attr/listPreferredItemPaddingEnd">
    android:fitsSystemWindows="true">

    <com.google.android.material.textfield.TextInputLayout
        android:id="@+id/rename_input_wrapper"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingStart="?android:attr/listPreferredItemPaddingStart"
        android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
        android:layout_centerInParent="true" >

        <EditText
            android:id="@android:id/text1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:inputType="text"/>

    </com.google.android.material.textfield.TextInputLayout>
</FrameLayout>