<?xml version="1.0" encoding="utf-8"?>
<layout
    xmlns:android="http://schemas.android.com/apk/res/android">
    <data>
        <variable
            name="posts"
            type="com.visticsolution.posterbanao.model.InvitationCategoryModel" />
    </data>

    <LinearLayout
        android:gravity="center"
        android:orientation="vertical"
        android:layout_marginVertical="8dp"
        android:layout_marginLeft="@dimen/_12sdp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">
        <RelativeLayout
            android:background="@drawable/ring"
            android:layout_width="80dp"
            android:layout_height="80dp">
            <de.hdodenhof.circleimageview.CircleImageView
                android:layout_margin="@dimen/_5sdp"
                android:id="@+id/img"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:src="@drawable/circle_drawable"
                android:imageURL="@{posts.image}"/>
        </RelativeLayout>
        <TextView
            android:layout_marginTop="@dimen/_2sdp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@{posts.name}"
            android:textSize="@dimen/_14sdp"
            android:textColor="@color/textColor"/>
    </LinearLayout>

</layout>