<?xml version="1.0" encoding="utf-8"?>

<android.support.v7.widget.CardView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/explore_io_card_container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="3dp"
    app:cardUseCompatPadding="true"
    app:cardBackgroundColor="@color/card"
    app:cardCornerRadius="@dimen/card_corner_radius"
    app:cardMaxElevation="@dimen/cardMaxElevation"
    app:cardPreventCornerOverlap="true"
    app:cardElevation="@dimen/card_elevation">

    <com.github.florent37.materialviewpager.worldmovies.ui.widget.ForegroundLinearLayout
        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:id="@+id/explore_io_clickable_item"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:foreground="?android:selectableItemBackground">

        <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:tools="http://schemas.android.com/tools"
            xmlns:fbutton="http://schemas.android.com/tools"
            android:id="@+id/message_card_root_layout"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <com.github.florent37.materialviewpager.worldmovies.framework.FlatButton
                android:id="@+id/button_more"
                android:layout_width="40dp"
                android:layout_height="30dp"
                android:layout_alignParentRight="true"
                android:layout_marginTop="16dp"
                android:layout_marginRight="12dp"
                android:text="More"
                android:textSize="10sp"
                fbutton:cornerRadius="15dp"
                fbutton:shadowEnabled="true"
                fbutton:shadowHeight="6dp"
                android:textColor="@android:color/white"
                android:layout_alignParentTop="true"
                android:layout_alignParentEnd="true" />

            <com.github.florent37.materialviewpager.worldmovies.framework.CustomTextView
                android:id="@+id/headline"
                android:layout_width="280dp"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:maxLines="2"
                android:layout_marginLeft="@dimen/explore_io_keynote_card_padding_start"
                android:layout_marginRight="@dimen/explore_io_keynote_card_padding_end"
                android:textColor="@color/body_text_1"
                android:textSize="16dp"
                tools:text="@string/placeholder_session_title"
                app:font="Roboto-Medium.ttf"
                android:layout_gravity="left|top"
                android:layout_alignTop="@+id/button_more"
                android:layout_alignParentStart="true"
                android:layout_marginStart="10dp" />

        </RelativeLayout>

        <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:tools="http://schemas.android.com/tools"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <com.github.florent37.materialviewpager.worldmovies.framework.CustomTextView
                android:id="@+id/author"
                android:layout_width="wrap_content"
                android:layout_height="25dp"
                android:layout_gravity="bottom"
                android:textSize="14dp"
                android:textColor="@color/body_text_3"
                android:layout_marginLeft="10dp"
                android:text="bill93557063"
                app:font="Roboto-Black.ttf"/>
        </RelativeLayout>

        <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:tools="http://schemas.android.com/tools"
            android:id="@+id/message_card_bottom_layout"
            android:layout_width="match_parent"
            android:layout_height="35dp">

            <com.sackcentury.shinebuttonlib.ShineButton
                android:id="@+id/bookmark"
                android:layout_width="20dp"
                android:layout_height="20dp"
                android:layout_marginRight="@dimen/explore_io_keynote_card_padding_start"
                android:layout_gravity="center"
                android:layout_centerVertical="true"
                app:siShape="@drawable/ic_turned_in"
                app:shine_count="12"
                app:click_animation_duration="200"
                app:shine_animation_duration="1500"
                app:shine_turn_angle="10"
                app:enable_flashing="false"
                app:small_shine_offset_angle="20"
                app:shine_distance_multiple="1.5"
                android:layout_toStartOf="@+id/share"/>

            <com.sackcentury.shinebuttonlib.ShineButton
                android:id="@+id/share"
                android:layout_width="20dp"
                android:layout_height="20dp"
                android:layout_marginLeft="@dimen/explore_io_keynote_card_padding_start"
                android:layout_gravity="right"
                android:layout_marginEnd="15dp"
                android:layout_centerVertical="true"
                android:layout_alignParentEnd="true"
                app:enable_flashing="false"
                app:siShape="@drawable/ic_share"
                />

            <com.github.florent37.materialviewpager.worldmovies.framework.CustomTextView
                android:id="@+id/date"
                android:layout_width="75dp"
                android:layout_height="16dp"
                android:layout_gravity="bottom"
                android:textSize="12dp"
                android:textColor="@color/body_text_3"
                android:text="2016/12/24"
                android:layout_marginLeft="@dimen/explore_io_keynote_card_padding_start"
                android:layout_marginStart="11dp"
                app:font="Roboto-Light.ttf"
                android:layout_alignTop="@+id/bookmark"
                android:layout_alignParentStart="true" />

        </RelativeLayout>
    </com.github.florent37.materialviewpager.worldmovies.ui.widget.ForegroundLinearLayout>



</android.support.v7.widget.CardView>