<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:paddingTop="8dp"
    android:paddingLeft="32dp"
    android:paddingRight="32dp"
    android:paddingBottom="16dp"
    android:orientation="vertical">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/header"
        android:paddingTop="16dp"
        android:paddingBottom="16dp"
        android:orientation="vertical">
        <androidx.appcompat.widget.AppCompatTextView
            android:textAppearance="@style/AnotherWidget.Settings.Title"
            app:textAllCaps="false"
            android:letterSpacing="0"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="8dp"
            android:gravity="start"
            android:textAlignment="viewStart"
            android:textSize="18sp"
            android:id="@+id/title"
            android:text="Titolo"
            android:textColor="@color/colorPrimaryText"/>
        <androidx.appcompat.widget.AppCompatTextView
            android:textAppearance="@style/AnotherWidget.Settings.Subtitle"
            app:textAllCaps="false"
            android:letterSpacing="0"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textSize="18sp"
            android:id="@+id/message"
            android:gravity="start"
            android:textAlignment="viewStart"
            android:text="Messaggio molto lungo di cui voirre akjcbasaskdask flasdas fashbdfjah fahsbd ajsbd "
            android:textColor="@color/colorPrimaryText"/>
    </LinearLayout>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:gravity="end">
        <com.google.android.material.button.MaterialButton
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            style="@style/Widget.MaterialComponents.Button.TextButton"
            android:textColor="@color/colorSecondaryText"
            android:alpha="0.8"
            android:clickable="true"
            android:focusable="true"
            android:textSize="16sp"
            app:rippleColor="@color/colorSecondaryText"
            android:id="@+id/action_negative"
            android:letterSpacing="0"
            android:text="Dismiss"
            android:fontFamily="@font/product_sans"
            android:textStyle="bold"
            app:textAllCaps="false" />
        <com.google.android.material.button.MaterialButton
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            style="@style/Widget.MaterialComponents.Button.TextButton"
            android:textColor="@color/colorAccent"
            android:clickable="true"
            android:focusable="true"
            android:textSize="16sp"
            app:rippleColor="@color/colorAccent_op30"
            android:id="@+id/action_positive"
            android:letterSpacing="0"
            android:text="Accept"
            android:fontFamily="@font/product_sans"
            android:textStyle="bold"
            app:textAllCaps="false" />
    </LinearLayout>
</LinearLayout>