<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
    >

    <androidx.cardview.widget.CardView
        android:id="@+id/card"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:cardCornerRadius="12dp"
        android:layout_margin="6dp"
        tools:cardBackgroundColor="@color/senderColour">

        <TextView
            style="@style/TextAppearance.AppCompat"
            android:elevation="4dp"
            android:id="@+id/inner_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="6dp"
            tools:text="@string/dummy_long_text" />
    </androidx.cardview.widget.CardView>

</FrameLayout>