Created
December 4, 2018 03:54
-
-
Save mehmetbalbay/81897687bc4d4fd902e2cc3ef1667d64 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:bind="http://schemas.android.com/apk/res/android"> | |
<data> | |
<variable | |
name="user" | |
type="mehmetbalbay.net.databindinginrecyclerview.model.User" /> | |
<variable | |
name="handlers" | |
type="mehmetbalbay.net.databindinginrecyclerview.view.MainActivity.MyClickHandlers" /> | |
</data> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height=“match_parent" | |
android:orientation=“vertical > | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height=“wrap_content" | |
android:text="@{user.name}" | |
android:textColor="@android:color/white" | |
android:textSize="@dimen/profile_name" | |
android:textStyle="bold" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@{user.about}" | |
android:textColor="@android:color/white" | |
android:textSize="@dimen/profile_about" /> | |
<android.support.design.widget.FloatingActionButton | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentEnd="true" | |
android:layout_alignParentBottom="true" | |
android:onClick="@{handlers::onProfileFabClicked}" | |
android:src="@drawable/ic_add_white_24dp" | |
app:fabCustomSize="@dimen/fab_profile" /> | |
</LinearLayout> | |
<layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment