checkbox_left_preference.xml (2474B)
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 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 5 xmlns:app="http://schemas.android.com/apk/res-auto" 6 xmlns:tools="http://schemas.android.com/tools" 7 android:layout_width="match_parent" 8 android:layout_height="wrap_content" 9 android:minHeight="48dp" 10 android:layout_marginBottom="8dp" 11 android:background="?android:selectableItemBackground" 12 android:clickable="true" 13 android:focusable="true" 14 android:gravity="center_vertical" 15 android:paddingStart="16dp" 16 android:paddingEnd="16dp"> 17 18 <LinearLayout 19 android:id="@android:id/widget_frame" 20 android:layout_width="48dp" 21 android:layout_height="0dp" 22 android:gravity="center_vertical" 23 android:orientation="vertical" 24 app:layout_constraintBottom_toBottomOf="parent" 25 app:layout_constraintStart_toStartOf="parent" 26 app:layout_constraintTop_toTopOf="parent" /> 27 28 <TextView 29 android:id="@android:id/title" 30 android:layout_width="0dp" 31 android:layout_height="wrap_content" 32 android:layout_marginStart="8dp" 33 android:textColor="@color/state_list_text_color" 34 android:textSize="16sp" 35 app:layout_constraintBottom_toTopOf="@android:id/summary" 36 app:layout_constraintEnd_toEndOf="parent" 37 app:layout_constraintStart_toEndOf="@android:id/widget_frame" 38 app:layout_constraintTop_toTopOf="parent" 39 app:layout_constraintVertical_chainStyle="packed" 40 tools:text="Delete browsing data category" /> 41 42 <TextView 43 android:id="@android:id/summary" 44 android:layout_width="0dp" 45 android:layout_height="wrap_content" 46 android:layout_marginStart="8dp" 47 android:textColor="@color/secondary_state_list_text_color" 48 app:layout_constraintBottom_toBottomOf="parent" 49 app:layout_constraintEnd_toEndOf="parent" 50 app:layout_constraintStart_toEndOf="@android:id/widget_frame" 51 app:layout_constraintTop_toBottomOf="@android:id/title" 52 app:layout_constraintVertical_chainStyle="packed" 53 tools:text="Delete browsing data summary" /> 54 </androidx.constraintlayout.widget.ConstraintLayout>