<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:paddingBottom="@dimen/row_padding"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingTop="@dimen/row_padding"
    android:focusable="true">

<ImageView
    android:id="@+id/thumbnail"
    android:layout_width="@dimen/thumbnail"
    android:layout_height="@dimen/thumbnail"
    android:layout_centerVertical="true"
    android:layout_marginEnd="@dimen/row_padding" />

<TextView
    android:id="@+id/event_title"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_toEndOf="@id/thumbnail"
    android:textColor="@color/contact_name"
    android:textSize="@dimen/contact_name" />

<TextView
    android:id="@+id/event_time"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@id/event_title"
    android:layout_toEndOf="@id/thumbnail"
    android:textColor="@color/contact_number"
    android:textSize="@dimen/contact_number" />

</RelativeLayout>