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
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/settings_background"
android:orientation="vertical"
android:padding="@dimen/preference_padding_horizontal"
android:weightSum="1">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/preference_padding_vertical"
android:text="@string/preference_exceptions_description"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:attr/textColorSecondary" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/exceptionList"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.9"
android:orientation="vertical" />
<Button
android:id="@+id/removeAllExceptions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/preference_padding_vertical"
android:paddingBottom="@dimen/preference_padding_vertical"
android:text="@string/preference_exceptions_remove_all_button_label"
app:backgroundTint="@color/colorErase" />
</LinearLayout>