diff options
Diffstat (limited to 'mobile/android/fenix/app/src/main/res/layout/checkbox_left_sub_preference.xml')
-rw-r--r-- | mobile/android/fenix/app/src/main/res/layout/checkbox_left_sub_preference.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/mobile/android/fenix/app/src/main/res/layout/checkbox_left_sub_preference.xml b/mobile/android/fenix/app/src/main/res/layout/checkbox_left_sub_preference.xml new file mode 100644 index 0000000000..f1792f6a7d --- /dev/null +++ b/mobile/android/fenix/app/src/main/res/layout/checkbox_left_sub_preference.xml @@ -0,0 +1,39 @@ +<?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="wrap_content" + android:minHeight="48dp" + android:background="?android:selectableItemBackground" + android:clickable="true" + android:focusable="true" + android:gravity="center_vertical" + android:paddingStart="@dimen/custom_checkbox_alignment_margin"> + + <LinearLayout + android:id="@android:id/widget_frame" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center" + android:orientation="vertical" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <TextView + android:id="@android:id/title" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/radio_button_padding_vertical" + android:textColor="@color/state_list_text_color" + android:textSize="16sp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@android:id/widget_frame" + app:layout_constraintTop_toTopOf="parent" + tools:text="Delete browsing data category" /> +</androidx.constraintlayout.widget.ConstraintLayout> |