<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/snackbar_view"
    android:orientation="horizontal"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:paddingStart="6dp"
    android:paddingEnd="0dp"
    android:gravity="center"
    tools:background="@drawable/snackbar_background_green"
    android:layout_gravity="center_horizontal|bottom"
    android:elevation="24dp"
    android:clipToPadding="false">
    <ImageView
        android:id="@+id/leftImageView"
        android:layout_height="@dimen/snackbar_image_size"
        android:layout_width="@dimen/snackbar_image_size"
        android:background="@drawable/white_circle_background"
        android:visibility="gone"
        tools:visibility="visible"
        android:layout_marginTop="6dp"
        android:layout_marginBottom="6dp"/>
    <LinearLayout
        android:id="@+id/content_container"
        android:layout_width="0dp"
        android:layout_weight="1"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:paddingStart="12dp"
        android:paddingEnd="18dp"
        android:paddingTop="8dp"
        android:paddingBottom="8dp">
        <TextView
            android:id="@+id/snackbar_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            tools:text="This is the Title"
            android:gravity="center"
            android:textSize="16sp"
            android:visibility="gone"
            tools:visibility="visible"
            android:textColor="@color/white"/>
        <TextView
            android:id="@+id/snackbar_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            tools:text="This is the Content"
            android:gravity="center"
            android:textSize="14sp"
            android:visibility="gone"
            tools:visibility="visible"
            android:textColor="@color/white"/>
    </LinearLayout>
    <LinearLayout
        android:id="@+id/rightView"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:gravity="center_vertical"
        android:background="@drawable/snackbar_right_bg"
        android:paddingStart="8dp"
        android:paddingEnd="8dp"
        android:layout_marginEnd="1dp"
        android:layout_marginTop="1dp"
        android:layout_marginBottom="1dp"
        android:visibility="gone"
        tools:visibility="visible">
        <ImageView
            android:id="@+id/rightIconView"
            android:layout_width="@dimen/currency_icon_size"
            android:layout_height="@dimen/currency_icon_size" />
        <TextView
            android:id="@+id/rightTextView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingStart="4dp"
            android:paddingEnd="0dp"
            tools:text="12"/>
    </LinearLayout>
</LinearLayout>
