59 lines
3.0 KiB
XML
59 lines
3.0 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/. -->
|
|
<merge 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="wrap_content"
|
|
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
|
|
|
|
<ImageView
|
|
android:id="@+id/trackingProtectionCategoryIcon"
|
|
android:layout_width="@dimen/preference_icon_drawable_size"
|
|
android:layout_height="@dimen/preference_icon_drawable_size"
|
|
android:layout_marginStart="@dimen/library_item_icon_margin_horizontal"
|
|
android:layout_marginTop="@dimen/library_item_icon_margin_vertical"
|
|
android:layout_marginEnd="@dimen/library_item_icon_margin_horizontal"
|
|
android:layout_marginBottom="@dimen/library_item_icon_margin_vertical"
|
|
android:background="@drawable/ic_cryptominers"
|
|
android:clickable="false"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/trackingProtectionCategoryTitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/radio_button_drawable_padding"
|
|
android:layout_marginTop="@dimen/about_list_margin_top"
|
|
android:layout_marginEnd="@dimen/library_item_icon_margin_horizontal"
|
|
android:clickable="false"
|
|
android:textAppearance="@style/ListItemTextStyle"
|
|
android:textSize="16sp"
|
|
app:layout_constraintBottom_toTopOf="@+id/trackingProtectionCategoryItemDescription"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
app:layout_constraintStart_toEndOf="@id/trackingProtectionCategoryIcon"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
<TextView
|
|
android:id="@+id/trackingProtectionCategoryItemDescription"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/radio_button_drawable_padding"
|
|
android:layout_marginEnd="@dimen/library_item_icon_margin_horizontal"
|
|
android:layout_marginBottom="@dimen/tracking_protection_item_margin_bottom"
|
|
android:clickable="false"
|
|
android:textColor="?attr/secondaryText"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
app:layout_constraintStart_toEndOf="@id/trackingProtectionCategoryIcon"
|
|
app:layout_constraintTop_toBottomOf="@+id/trackingProtectionCategoryTitle"
|
|
tools:text="@tools:sample/lorem/random" />
|
|
</merge>
|