Revision control

Copy as Markdown

<?xml version="1.0" encoding="utf-8"?><!-- 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/. -->
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/connection_details_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
<ImageView
android:id="@+id/details_back"
android:layout_width="40dp"
android:layout_height="40dp"
android:contentDescription="@string/go_back"
android:padding="4dp"
android:scaleType="center"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/mozac_ic_back_24" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
style="@style/PanelHeading"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="25dp"
android:clickable="false"
android:focusable="false"
android:paddingTop="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/details_back"
app:layout_constraintTop_toTopOf="parent"
tools:text="Title" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/details"
style="@style/PanelTitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="25dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/details_back"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="Details" />
<org.mozilla.focus.cookiebannerreducer.CookieBannerExceptionDetailsSwitch
android:id="@+id/cookie_banner_exception_details_switch"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="-19dp"
android:layout_marginTop="16dp"
android:minHeight="48dp"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/details_back"
app:layout_constraintTop_toBottomOf="@id/details" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/cancel_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="48dp"
android:layout_marginTop="16dp"
android:text="@string/cookie_banner_exception_panel_site_is_not_supported_cancel_button"
android:textAllCaps="true"
android:gravity="center"
android:visibility="gone"
android:layout_marginEnd="16dp"
android:background="@android:color/transparent"
android:textSize="14sp"
android:textColor="@color/cookie_banner_details_panel_report_a_site_text_color"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/details" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/request_support"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="48dp"
android:visibility="gone"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:text="@string/cookie_banner_exception_panel_site_is_not_supported_request_support_button"
android:textAllCaps="true"
android:gravity="center"
android:textSize="14sp"
android:background="@android:color/transparent"
android:textColor="@color/cookie_banner_details_panel_report_a_site_text_color"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/cancel_button"
app:layout_constraintTop_toBottomOf="@id/details"
app:layout_constraintLeft_toLeftOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>