fragment_exceptions_domains.xml (1679B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:app="http://schemas.android.com/apk/res-auto" 8 android:layout_width="match_parent" 9 android:layout_height="match_parent" 10 android:background="@color/settings_background" 11 android:orientation="vertical" 12 android:padding="@dimen/preference_padding_horizontal" 13 android:weightSum="1"> 14 15 <TextView 16 android:layout_width="match_parent" 17 android:layout_height="wrap_content" 18 android:paddingBottom="@dimen/preference_padding_vertical" 19 android:text="@string/preference_exceptions_description" 20 android:textAppearance="@style/TextAppearance.Material3.BodyMedium" 21 android:textColor="?android:attr/textColorSecondary" /> 22 23 <androidx.recyclerview.widget.RecyclerView 24 android:id="@+id/exceptionList" 25 android:layout_width="match_parent" 26 android:layout_height="0dp" 27 android:layout_weight="0.9" 28 android:orientation="vertical" /> 29 30 <Button 31 android:id="@+id/removeAllExceptions" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:paddingTop="@dimen/preference_padding_vertical" 35 android:paddingBottom="@dimen/preference_padding_vertical" 36 android:text="@string/preference_exceptions_remove_all_button_label" 37 app:backgroundTint="@color/colorErase" /> 38 </LinearLayout>