0

Is there any library or a means to implement this custom editText?enter image description here

This is what was achieved by wrapping a custom layout around the editText which is inside a textInputLayout

enter image description here

John Joe
  • 12,412
  • 16
  • 70
  • 135

1 Answers1

0

Try this

  <android.support.design.widget.TextInputLayout
                android:layout_marginTop="10dp"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="8dp"
                android:minWidth="400dp">
            <android.support.design.widget.TextInputEditText
                    android:id="@+id/editTitle"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:hint="@string/hint_title_required"/>
        </android.support.design.widget.TextInputLayout>
John Joe
  • 12,412
  • 16
  • 70
  • 135