tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

quicksettings_protections_panel.xml (2760B)


      1 <?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
      2   - License, v. 2.0. If a copy of the MPL was not distributed with this
      3   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      4 
      5 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      6    xmlns:app="http://schemas.android.com/apk/res-auto"
      7    android:layout_width="match_parent"
      8    android:layout_height="wrap_content">
      9 
     10    <androidx.compose.ui.platform.ComposeView
     11        android:id="@+id/cookieBannerItem"
     12        android:layout_width="match_parent"
     13        android:layout_height="wrap_content"
     14        android:minHeight="@dimen/tracking_protection_item_height"
     15        app:layout_constraintBottom_toBottomOf="parent"
     16        app:layout_constraintTop_toTopOf="parent" />
     17 
     18 <!-- Removed as part of Bug_42115: Enhanced Tracking Protection can still be enabled-->
     19 <!--    <org.mozilla.fenix.trackingprotection.SwitchWithDescription-->
     20 <!--        android:id="@+id/trackingProtectionSwitch"-->
     21 <!--        android:layout_width="match_parent"-->
     22 <!--        android:layout_height="wrap_content"-->
     23 <!--        android:layout_marginTop="16dp"-->
     24 <!--        android:minHeight="@dimen/tracking_protection_item_height"-->
     25 <!--        android:text="@string/preference_enhanced_tracking_protection"-->
     26 <!--        app:layout_constraintBottom_toTopOf="@id/trackingProtectionDetails"-->
     27 <!--        app:layout_constraintTop_toBottomOf="@id/cookieBannerItem"-->
     28 <!--        app:switchDescriptionOff="@string/etp_panel_off"-->
     29 <!--        app:switchDescriptionOn="@string/etp_panel_on"-->
     30 <!--        app:switchIconOff="@drawable/ic_tracking_protection_disabled"-->
     31 <!--        app:switchIconOn="@drawable/ic_tracking_protection_enabled"-->
     32 <!--        app:switchTitle="@string/preference_enhanced_tracking_protection" />-->
     33 
     34    <!-- Removed as part of Bug_42115: Enhanced Tracking Protection can still be enabled-->
     35 <!--    <TextView-->
     36 <!--        android:id="@+id/trackingProtectionDetails"-->
     37 <!--        style="@style/QuickSettingsText.Icon"-->
     38 <!--        android:layout_width="0dp"-->
     39 <!--        android:layout_height="@dimen/quicksettings_item_height"-->
     40 <!--        android:layout_alignParentEnd="true"-->
     41 <!--        android:gravity="end|center_vertical"-->
     42 <!--        android:text="@string/enhanced_tracking_protection_details"-->
     43 <!--        android:visibility="gone"-->
     44 <!--        app:drawableEndCompat="@drawable/ic_arrowhead_right"-->
     45 <!--        app:layout_constraintBottom_toBottomOf="parent"-->
     46 <!--        app:layout_constraintEnd_toEndOf="parent"-->
     47 <!--        app:layout_constraintStart_toStartOf="parent" />-->
     48 
     49 </androidx.constraintlayout.widget.ConstraintLayout>