<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginStart="@dimen/dimen24dp"
    android:layout_marginTop="@dimen/dimen8dp"
    android:layout_marginEnd="@dimen/dimen24dp"
    android:layout_marginBottom="@dimen/dimen2dp"
    android:background="?android:attr/selectableItemBackground"
    android:gravity="center_vertical"
    android:orientation="horizontal">

    <com.google.android.material.card.MaterialCardView
        style="?attr/materialCardViewElevatedStyle"
        android:backgroundTint="@android:color/transparent"
        android:layout_width="@dimen/dimen32dp"
        android:layout_height="@dimen/dimen32dp"
        android:layout_marginEnd="@dimen/dimen12dp"
        app:cardCornerRadius="@dimen/dimen8dp"
        app:cardElevation="@dimen/dimen0dp">

        <ImageView
            android:id="@+id/authorAvatar"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:contentDescription="@string/generalImgContentText"
            tools:src="@tools:sample/avatars"/>

    </com.google.android.material.card.MaterialCardView>

    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:orientation="vertical">

        <TextView
            android:id="@+id/authorFullName"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="?attr/primaryTextColor"
            android:textSize="@dimen/dimen14sp"
            android:textStyle="bold"/>

        <TextView
            android:id="@+id/authorLogin"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="?attr/primaryTextColor"
            android:textSize="@dimen/dimen12sp"/>

    </LinearLayout>

</LinearLayout>
