2019-05-24 00:10:00 +02: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-05-25 00:31:21 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2019-05-24 00:10:00 +02:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-05-25 00:31:21 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_width="match_parent">
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
|
|
android:indeterminate="true"
|
2019-05-24 00:10:00 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-05-25 00:31:21 +02:00
|
|
|
android:layout_height="8dp"
|
|
|
|
android:translationY="-3dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/delete_browsing_data_wrapper"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
<LinearLayout
|
2019-10-03 21:43:33 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2020-02-16 05:59:02 +01:00
|
|
|
<org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem
|
|
|
|
android:id="@+id/open_tabs_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2020-05-25 14:16:45 +02:00
|
|
|
app:deleteBrowsingDataItemTitle="@string/preferences_delete_browsing_data_tabs_title_2"
|
2020-02-16 05:59:02 +01:00
|
|
|
app:deleteBrowsingDataItemSubtitle="@string/preferences_delete_browsing_data_tabs_subtitle" />
|
2019-09-14 06:29:11 +02:00
|
|
|
<org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem
|
2019-05-25 00:31:21 +02:00
|
|
|
android:id="@+id/browsing_data_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
app:deleteBrowsingDataItemTitle="@string/preferences_delete_browsing_data_browsing_data_title"
|
|
|
|
app:deleteBrowsingDataItemSubtitle="@string/preferences_delete_browsing_data_browsing_data_subtitle" />
|
2019-09-14 06:29:11 +02:00
|
|
|
<org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem
|
2019-09-04 22:27:30 +02:00
|
|
|
android:id="@+id/cookies_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:deleteBrowsingDataItemTitle="@string/preferences_delete_browsing_data_cookies"
|
|
|
|
app:deleteBrowsingDataItemSubtitle="@string/preferences_delete_browsing_data_cookies_subtitle" />
|
2019-09-14 06:29:11 +02:00
|
|
|
<org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem
|
2019-09-04 22:27:30 +02:00
|
|
|
android:id="@+id/cached_files_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:deleteBrowsingDataItemTitle="@string/preferences_delete_browsing_data_cached_files"
|
|
|
|
app:deleteBrowsingDataItemSubtitle="@string/preferences_delete_browsing_data_cached_files_subtitle" />
|
2019-09-14 06:29:11 +02:00
|
|
|
<org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataItem
|
2019-09-04 22:27:30 +02:00
|
|
|
android:id="@+id/site_permissions_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:deleteBrowsingDataItemTitle="@string/preferences_delete_browsing_data_site_permissions" />
|
2019-06-14 00:38:51 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/delete_data"
|
2020-04-16 00:49:02 +02:00
|
|
|
style="@style/DestructiveButton"
|
|
|
|
android:layout_marginHorizontal="16dp"
|
2019-06-14 00:38:51 +02:00
|
|
|
android:text="@string/preferences_delete_browsing_data_button" />
|
2019-05-25 00:31:21 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|