<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:tools="http://schemas.android.com/tools">

    <androidx.cardview.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="12dp"
        android:layout_marginTop="6dp"
        android:layout_marginRight="6dp"
        android:layout_marginBottom="6dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:cardCornerRadius="@dimen/card_radius">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginLeft="16dp"
            android:layout_marginRight="16dp"
            android:layout_marginBottom="6dp"
            android:orientation="vertical">

            <LinearLayout
                android:id="@+id/header_container"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal">

                <ImageView
                    android:id="@+id/card_icon"
                    android:layout_width="30dp"
                    android:layout_height="30dp"
                    android:alpha="0.45"
                    android:layout_gravity="center"
                    android:src="@drawable/clock_icon"
                    app:layout_constraintDimensionRatio="1:1" />

                <TextView
                    android:id="@+id/card_title"
                    android:includeFontPadding="false"
                    android:textColor="@color/three"
                    android:layout_marginLeft="16dp"
                    android:layout_marginRight="16dp"
                    android:singleLine="true"
                    android:maxLines="2"
                    android:textAppearance="?android:attr/textAppearanceSearchResultTitle"
                    android:gravity="center_vertical"
                    android:ellipsize="marquee"
                    android:fadingEdge="horizontal"
                    android:layout_width="wrap_content"
                    android:minHeight="?android:attr/listPreferredItemHeightSmall"
                    android:layout_height="wrap_content"
                    tools:text="Title"/>


            </LinearLayout>

            <LinearLayout
                android:id="@+id/text_holder"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                style="@style/container_main">

                <TextView android:id="@+id/title_one_tv"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:singleLine="true"
                    android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
                    android:ellipsize="marquee"
                    android:text="Total"/>

                <TextView android:id="@+id/units"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:textColor="?android:attr/textColorSecondary"
                    android:autoLink="web"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    tools:text="296 Hours"/>
            </LinearLayout>

            <LinearLayout
                android:id="@+id/text_holder_two"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                style="@style/container_main">

                <TextView android:id="@+id/title_two"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:singleLine="true"
                    android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
                    android:ellipsize="marquee"
                    android:text="Earned"/>

                <TextView android:id="@+id/total_earned"
                    android:layout_alignLeft="@android:id/title"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:textColor="?android:attr/textColorSecondary"
                    android:autoLink="web"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    tools:text="$965.37"/>
            </LinearLayout>
        </LinearLayout>

    </androidx.cardview.widget.CardView>



</androidx.constraintlayout.widget.ConstraintLayout>