2020-09-18 17:32:56 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-12-04 18:31:58 -05:00
|
|
|
<ScrollView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-09-18 17:32:56 -04:00
|
|
|
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"
|
2020-11-09 09:29:11 -05:00
|
|
|
style="@style/Signal.Widget.Button.Large.Primary"
|
2020-09-18 17:32:56 -04:00
|
|
|
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"
|
2020-11-09 09:29:11 -05:00
|
|
|
app:icon="@drawable/ic_open_20" />
|
2020-09-18 17:32:56 -04:00
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/research_megaphone_dialog_no_thanks"
|
2020-11-09 09:29:11 -05:00
|
|
|
style="@style/Signal.Widget.Button.Large.Secondary"
|
2020-09-18 17:32:56 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:layout_marginBottom="12dp"
|
2020-11-09 09:29:11 -05:00
|
|
|
android:text="@string/ResearchMegaphoneDialog_no_thanks" />
|
2020-09-18 17:32:56 -04:00
|
|
|
|
|
|
|
<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"
|
2020-10-21 09:15:47 -04:00
|
|
|
android:text="@string/ResearchMegaphoneDialog_the_survey_is_hosted_by_alchemer_at_the_secure_domain" />
|
2020-09-18 17:32:56 -04:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|