Created
August 30, 2018 08:57
-
-
Save kosiara/9d8099244d70df89d5efede451f6e6a3 to your computer and use it in GitHub Desktop.
Twitter list item
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:app="http://schemas.android.com/apk/res-auto"> | |
<data> | |
<variable | |
name="tweetId" | |
type="com.bk.sample.android.util.databinding.ObservableString" /> | |
</data> | |
<android.support.v7.widget.CardView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginStart="16dp" | |
android:layout_marginEnd="16dp" | |
app:cardCornerRadius="5dp"> | |
<com.bk.sample.android.component.TwitterViewComponent | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:paddingStart="15dp" | |
android:paddingEnd="15dp" | |
android:paddingTop="15dp" | |
app:twitterId="@{tweetId}" /> | |
</android.support.v7.widget.CardView> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment