Source code
Revision control
Copy as Markdown
Other Tools
<?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
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/exceptions"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:listitem="@layout/fragment_site_permissions_exceptions_item"
tools:visibility="visible" />
<com.google.android.material.button.MaterialButton
android:id="@+id/delete_all_site_permissions_button"
style="@style/DestructiveButton"
android:background="@drawable/button_background"
android:text="@string/clear_permissions_on_all_sites"
android:visibility="gone"
android:layout_marginHorizontal="16dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/exceptions" />
<TextView
android:id="@+id/empty_exception_container"
android:layout_width="0dp"
android:layout_height="0dp"
android:gravity="center"
android:text="@string/no_site_exceptions"
android:textAlignment="center"
android:textColor="?attr/textPrimary"
android:textSize="20sp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>