Last active
June 11, 2019 03:10
-
-
Save ozbek/6e1cf0a878efbffa383e87ffd2cdb4bb to your computer and use it in GitHub Desktop.
Example layout for https://stackoverflow.com/questions/52385623/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_margin="16dp"> | |
<com.google.android.material.textfield.TextInputLayout | |
android:id="@+id/textInputLayout" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
app:layout_constraintEnd_toStartOf="parent" | |
app:layout_constraintStart_toEndOf="parent" | |
app:layout_constraintTop_toTopOf="parent" | |
tools:hint="Title"> | |
<androidx.appcompat.widget.AppCompatEditText | |
android:id="@+id/textInput" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:imeOptions="actionNext" | |
android:inputType="text" | |
android:lines="1" | |
android:maxLines="1" /> | |
</com.google.android.material.textfield.TextInputLayout> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment