Created
June 23, 2017 23:08
-
-
Save blogdarkspot/542f4b4e79fe1e4b470f2c60d28eaa18 to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<data> | |
<variable | |
name="user" | |
type="com.example.fabio.databind.Person" /> | |
</data> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="com.example.fabio.databind.MainActivity"> | |
<TextView | |
android:id="@+id/tv_name_title" | |
android:layout_width="58dp" | |
android:layout_height="19dp" | |
android:layout_marginTop="27dp" | |
android:text="Name:" | |
/> | |
<TextView | |
android:id="@+id/tv_name" | |
android:text="@{user.name}" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
tools:layout_editor_absoluteY="27dp" | |
/> | |
</LinearLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment