Revision control

Copy as Markdown

<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:windowBackground"
tools:ignore="Overdraw">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/icon"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_alignParentTop="true"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:importantForAccessibility="no"
android:scaleType="center"
app:srcCompat="@drawable/mozac_ic_information_24"
app:tint="?android:attr/textColorPrimary" />
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/icon"
android:layout_alignBottom="@+id/icon"
android:layout_toEndOf="@id/icon"
android:gravity="center_vertical"
android:paddingStart="4dp"
android:paddingEnd="8dp"
android:textColor="?android:attr/textColorPrimary"
android:textSize="16sp"
tools:text="@string/mozac_feature_downloads_cancel_active_downloads_warning_content_title"
tools:textColor="#000000" />
<TextView
android:id="@+id/body"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_alignStart="@id/title"
android:layout_marginTop="8dp"
android:paddingStart="4dp"
android:paddingEnd="8dp"
android:textColor="?android:attr/textColorPrimary"
tools:text="@string/mozac_feature_downloads_cancel_active_private_downloads_warning_content_body" />
<Button
android:id="@+id/deny_button"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/body"
android:layout_marginTop="16dp"
android:layout_toStartOf="@id/accept_button"
android:textAlignment="center"
android:textAllCaps="false"
tools:text="@string/mozac_feature_downloads_cancel_active_private_downloads_deny" />
<Button
android:id="@+id/accept_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/body"
android:layout_alignParentEnd="true"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textAlignment="center"
android:textAllCaps="false"
tools:text="@string/mozac_feature_downloads_cancel_active_downloads_accept" />
</RelativeLayout>