mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
60 lines
2.8 KiB
XML
60 lines
2.8 KiB
XML
<?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/. -->
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<TextView
|
|
android:layout_marginTop="4dp"
|
|
android:id="@+id/trackingProtectionCategoryTitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="48dp"
|
|
android:layout_marginEnd="64dp"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
android:importantForAccessibility="no"
|
|
android:textAppearance="@style/ListItemTextStyle"
|
|
android:textSize="16sp"
|
|
app:layout_constraintBottom_toTopOf="@+id/trackingProtectionCategoryItemDescription"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
<TextView
|
|
android:id="@+id/trackingProtectionCategoryItemDescription"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
android:importantForAccessibility="no"
|
|
android:textColor="?attr/secondaryText"
|
|
android:layout_marginBottom="4dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="@id/trackingProtectionCategoryTitle"
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
app:layout_constraintStart_toStartOf="@id/trackingProtectionCategoryTitle"
|
|
app:layout_constraintTop_toBottomOf="@+id/trackingProtectionCategoryTitle"
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
<Switch
|
|
android:id="@+id/switch_widget"
|
|
style="@style/QuickSettingsText.Icon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:textOff="@string/etp_panel_off"
|
|
android:textOn="@string/etp_panel_on"
|
|
app:drawableStartCompat="@drawable/ic_tracking_protection"
|
|
app:layout_constraintBottom_toBottomOf="@id/trackingProtectionCategoryItemDescription"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|