<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView
    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_margin="@dimen/spacing_micro"
    android:foreground="?selectableItemBackground"
    android:stateListAnimator="@animator/cardview_selector"
    app:cardBackgroundColor="?card_background"
    app:contentPaddingBottom="@dimen/spacing_normal"
    app:contentPaddingLeft="@dimen/spacing_xs_large"
    app:contentPaddingRight="@dimen/spacing_xs_large"
    app:contentPaddingTop="@dimen/spacing_normal">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/fileName"
            style="@style/TextAppearance.AppCompat.Medium"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/spacing_normal"
            android:textColor="?android:textColorPrimary"
            tools:text="Yes, there is wonderland, it becomes with vision."/>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/top_border"
            android:orientation="horizontal">

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/language"
                style="@style/TextAppearance.AppCompat.Subhead"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_weight="1"
                android:background="@drawable/right_border"
                android:textColor="?android:attr/textColorSecondary"
                tools:text="JAVASCRIPT"/>

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/size"
                style="@style/TextAppearance.AppCompat.Subhead"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_weight="0.4"
                android:background="@drawable/right_border"
                android:gravity="center"
                android:paddingEnd="@dimen/spacing_normal"
                android:paddingStart="@dimen/spacing_normal"
                android:textColor="?android:attr/textColorSecondary"
                tools:text="500 KB"/>

            <com.fastaccess.ui.widgets.ForegroundImageView
                android:id="@+id/delete"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?selectableItemBackgroundBorderless"
                android:padding="@dimen/spacing_micro"
                android:src="@drawable/ic_trash"/>

            <com.fastaccess.ui.widgets.ForegroundImageView
                android:id="@+id/edit"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?selectableItemBackgroundBorderless"
                android:padding="@dimen/spacing_micro"
                android:src="@drawable/ic_edit"/>
        </LinearLayout>
    </LinearLayout>

</androidx.cardview.widget.CardView>