<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical">

    <androidx.cardview.widget.CardView
        android:id="@+id/cardview_env_tile"
        android:layout_width="112dp"
        android:layout_height="@dimen/wifi_sensor_grid_width"
        android:layout_margin="4dp"
        android:focusable="true"
        android:foreground="?attr/selectableItemBackground"
        app:cardCornerRadius="16dp">

        <LinearLayout
            android:id="@+id/env_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="@dimen/space_XSS"
            android:padding="8dp"
            android:gravity="center"
            android:layout_gravity="center_horizontal|center_vertical"
            android:orientation="vertical">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_margin="@dimen/space_XXXS"
                android:id="@+id/env_icon"
                tools:background="@drawable/icon_temp"
                android:contentDescription="">
            </ImageView>

            <TextView
                android:gravity="center"
                style="@style/tb_robo_regular_12dp_grey"
                android:id="@+id/env_description"
                android:layout_marginLeft="@dimen/space_XXXS"
                android:layout_marginRight="@dimen/space_XXXS"
                android:layout_marginBottom="@dimen/space_XXXS"
                android:layout_marginTop="@dimen/space_XS"
                tools:text="Temperature" />

        </LinearLayout>
    </androidx.cardview.widget.CardView>

</LinearLayout>