2019-04-11 20:04:51 +00:00
|
|
|
<?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/. -->
|
|
|
|
|
2019-06-13 22:38:51 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2019-04-11 20:04:51 +00:00
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2019-06-13 22:38:51 +00:00
|
|
|
android:id="@+id/exceptions"
|
2019-10-25 13:19:39 +00:00
|
|
|
android:layout_width="0dp"
|
2019-06-13 22:38:51 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:visibility="visible" />
|
2019-04-11 20:04:51 +00:00
|
|
|
|
2019-06-13 22:38:51 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/delete_all_site_permissions_button"
|
2020-04-15 22:49:02 +00:00
|
|
|
style="@style/DestructiveButton"
|
2019-06-13 22:38:51 +00:00
|
|
|
android:background="@drawable/button_background"
|
|
|
|
android:text="@string/clear_permissions_on_all_sites"
|
|
|
|
android:visibility="gone"
|
2020-04-15 22:49:02 +00:00
|
|
|
android:layout_marginHorizontal="16dp"
|
2019-06-13 22:38:51 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/exceptions" />
|
2019-04-11 20:04:51 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-06-13 22:38:51 +00:00
|
|
|
android:id="@+id/empty_exception_container"
|
2019-10-25 11:24:27 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:gravity="center"
|
2019-06-13 22:38:51 +00:00
|
|
|
android:text="@string/no_site_exceptions"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
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"
|
|
|
|
tools:visibility="visible" />
|
2019-04-11 20:04:51 +00:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|