<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<data> | |
<variable name="text" type="String"/> | |
</data> | |
<LinearLayout android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<TextView android:text="@{text}" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/text_view"/> | |
</LinearLayout> | |
</layout> |