2019-05-07 20:28:38 +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-07-18 22:15:24 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-09-16 12:48:42 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-07-18 22:15:24 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/exceptions_wrapper"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2019-09-16 12:48:42 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/exceptions_empty_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="@dimen/exceptions_description_margin">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/exceptions_empty_message"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="4dp"
|
|
|
|
android:text="@string/exceptions_empty_message_description"
|
2020-06-05 17:16:34 +00:00
|
|
|
android:textAlignment="viewStart"
|
2019-09-16 12:48:42 +00:00
|
|
|
android:textColor="?secondaryText"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:visibility="visible"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2020-06-26 10:10:17 +00:00
|
|
|
<org.mozilla.fenix.utils.LinkTextView
|
2019-09-16 12:48:42 +00:00
|
|
|
android:id="@+id/exceptions_learn_more"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="4dp"
|
|
|
|
android:text="@string/exceptions_empty_message_learn_more_link"
|
2020-06-05 17:16:34 +00:00
|
|
|
android:textAlignment="viewStart"
|
2019-09-16 12:48:42 +00:00
|
|
|
android:textColor="?secondaryText"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:visibility="visible"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/exceptions_empty_message" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
2019-07-18 22:15:24 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2019-05-07 20:28:38 +00:00
|
|
|
android:id="@+id/exceptions_list"
|
|
|
|
android:layout_width="match_parent"
|
2019-07-15 22:01:37 +00:00
|
|
|
android:layout_height="match_parent"
|
2019-09-16 12:48:42 +00:00
|
|
|
android:visibility="gone"
|
2020-07-31 20:24:14 +00:00
|
|
|
tools:listheader="@layout/exceptions_description"
|
|
|
|
tools:listitem="@layout/exception_item"
|
|
|
|
tools:listfooter="@layout/delete_exceptions_button" />
|
2019-07-18 22:15:24 +00:00
|
|
|
</FrameLayout>
|