Created
March 29, 2016 06:16
-
-
Save krugloid/0d2bc5ad05399da52d0a 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
<layout xmlns:android="http://schemas.android.com/apk/res/android"> | |
<data> | |
<variable name="counter" type="com.example.Counter"/> | |
<variable name="counter" type="com.example.ClickHandler"/> | |
</data> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<TextView android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@{counter.value}"/> | |
<Buttonandroid:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@{handlers.clickHandle}"/> | |
</LinearLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment