- <!-- `android.support.design.widget.TextInputLayout` makes the `android:hint` float above the `EditText`. -->
- <android.support.design.widget.TextInputLayout
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:layout_marginTop="6dp"
- android:layout_marginStart="4dp"
- android:layout_marginEnd="4dp" >
-
- <!-- `android:imeOptions="actionGo"` sets the keyboard to have a "go" key instead of a "new line" key.
- `android:inputType="textUri"` disables spell check in the EditText. -->
- <android.support.design.widget.TextInputEditText
- android:id="@+id/create_folder_name_edittext"
+ <!-- The text input layout makes the `android:hint` float above the edit text. -->
+ <com.google.android.material.textfield.TextInputLayout