Created
October 17, 2016 21:06
-
-
Save v3n3/80603b40d4f03b93e410e4ab258446d5 to your computer and use it in GitHub Desktop.
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<layout 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"> | |
<data> | |
<variable | |
name="model" | |
type="com.example.MyModel"/> | |
</data> | |
<android.support.design.widget.CoordinatorLayout | |
android:id="@+id/activity_container" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<android.support.design.widget.TextInputEditText | |
android:layout_width="match_parent" | |
android:layout_height="80dp" | |
android:hint="@string/username" | |
android:text="@={model.username}" | |
android:maxLines="1"/> | |
</android.support.design.widget.CoordinatorLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment