68 lines
2.9 KiB
XML
68 lines
2.9 KiB
XML
|
<?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"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
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/Widget.Signal.Button.Flat"
|
||
|
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"
|
||
|
android:textColor="@color/core_white"
|
||
|
app:backgroundTint="?attr/colorAccent"
|
||
|
app:icon="@drawable/ic_open_20"
|
||
|
app:iconGravity="textEnd"
|
||
|
app:iconTint="@color/core_white" />
|
||
|
|
||
|
<com.google.android.material.button.MaterialButton
|
||
|
android:id="@+id/research_megaphone_dialog_no_thanks"
|
||
|
style="@style/Widget.Signal.Button.Flat"
|
||
|
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"
|
||
|
android:textColor="?safety_number_change_dialog_button_text_color"
|
||
|
app:backgroundTint="?safety_number_change_dialog_button_background" />
|
||
|
|
||
|
<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_surveygizmo_at_the_secure_domain" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|