| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<layout xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 |
<data> |
| 4 |
<variable name="firstName" type="String"/> |
| 5 |
<variable name="lastName" type="String"/> |
| 6 |
</data> |
| 7 |
<LinearLayout |
| 8 |
android:orientation="vertical" |
| 9 |
android:layout_width="match_parent" |
| 10 |
android:layout_height="match_parent" |
| 11 |
xmlns:bind="http://schemas.android.com/apk/res-auto"> |
| 12 |
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 13 |
android:text="@{firstName}" |
| 14 |
android:id="@+id/mFirstName" |
| 15 |
/> |
| 16 |
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 17 |
android:text="@{lastName}" |
| 18 |
android:id="@+id/mLastName" |
| 19 |
/> |
| 20 |
</LinearLayout> |
| 21 |
</layout> |