<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/background"
    android:orientation="horizontal" >

    <LinearLayout
        android:id="@+id/eventMetaData"
        android:layout_width="100dip"
        android:layout_height="wrap_content"
        android:layout_marginTop="6dip"
        android:gravity="center_horizontal"
        android:orientation="vertical" >

        <TextView
            android:id="@+id/notificationIcon"
            android:layout_width="30dp"
            android:layout_height="match_parent"
            android:layout_marginStart="5dp"
            android:layout_marginLeft="5dp"
            android:gravity="center"
            android:textColor="@color/foreground1"
            android:textSize="28sp" >
        </TextView>

        <TextView
            android:id="@+id/eventSender"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="6dip"
            android:gravity="center_horizontal"
            android:padding="1dip"
            android:singleLine="false"
            android:textColor="@color/foreground2" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/eventContent"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginRight="6dip"
        android:layout_marginTop="3dip"
        android:orientation="vertical" >

        <TextView
            android:id="@+id/notifCode"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone" />

        <TextView
            android:id="@+id/seenLocal"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone" />

        <TextView
            android:id="@+id/eventCode"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone" />

        <TextView
            android:id="@+id/eventUserPhoto"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone" />

        <TextView
            android:id="@+id/eventType"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="@color/foreground1"
            android:textSize="18sp"
            android:textStyle="bold" />

        <TextView
            android:id="@+id/eventLocation"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="1dip"
            android:textColor="@color/foreground1" />

        <RelativeLayout
            android:id="@+id/dateAndTime"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" >

            <TextView
                android:id="@+id/eventDate"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:gravity="center_horizontal"
                android:textColor="@color/foreground2" />

            <TextView
                android:id="@+id/eventTime"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignBaseline="@id/eventDate"
                android:layout_marginLeft="10dp"
                android:layout_toRightOf="@id/eventDate"
                android:textColor="@color/foreground2" />
        </RelativeLayout>

        <TextView
            android:id="@+id/eventSummary"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="1dip"
            android:textColor="@color/foreground1"
            android:textSize="16sp"
            android:textStyle="bold" />

        <TextView
            android:id="@+id/eventText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:autoLink="web"
            android:padding="1dip"
            android:textColor="@color/foreground1"
            android:textSize="16sp"
            android:visibility="gone" />

        <TextView
            android:id="@+id/eventMsg"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:autoLink="web"
            android:padding="1dip"
            android:textColor="@color/foreground1"
            android:textSize="16sp"
            android:visibility="gone" />
    </LinearLayout>

</LinearLayout>