<?xml version="1.0" encoding="utf-8"?>
<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

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

        <ImageView
            android:layout_width="match_parent"
            android:layout_height="160dp"
            android:background="@color/blue_100"
            app:srcCompat="@drawable/signal_research" />

        <TextView
            android:id="@+id/research_megaphone_content"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="32dp"
            android:layout_marginTop="22dp"
            android:layout_marginEnd="32dp"
            android:layout_marginBottom="24dp"
            android:text="@string/ResearchMegaphoneDialog_we_believe_in_privacy" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/research_megaphone_dialog_take_the_survey"
            style="@style/Signal.Widget.Button.Large.Primary"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="32dp"
            android:layout_marginEnd="32dp"
            android:layout_marginBottom="8dp"
            android:text="@string/ResearchMegaphoneDialog_take_the_survey"
            app:icon="@drawable/ic_open_20" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/research_megaphone_dialog_no_thanks"
            style="@style/Signal.Widget.Button.Large.Secondary"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="32dp"
            android:layout_marginEnd="32dp"
            android:layout_marginBottom="12dp"
            android:text="@string/ResearchMegaphoneDialog_no_thanks" />

        <TextView
            style="@style/TextAppearance.Signal.Caption"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="32dp"
            android:layout_marginEnd="32dp"
            android:layout_marginBottom="32dp"
            android:gravity="center"
            android:text="@string/ResearchMegaphoneDialog_the_survey_is_hosted_by_alchemer_at_the_secure_domain" />

    </LinearLayout>
</ScrollView>
