You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
3.3 KiB
XML
79 lines
3.3 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:id="@+id/constraintLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="@dimen/radio_button_preference_vertical"
|
|
android:paddingBottom="@dimen/radio_button_preference_vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/radio_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start"
|
|
android:layout_marginStart="66dp"
|
|
android:background="@android:color/transparent"
|
|
android:button="@null"
|
|
android:clickable="false"
|
|
android:drawablePadding="6dp"
|
|
android:focusable="false"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:drawableStart="?android:attr/listChoiceIndicatorSingle" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:gravity="center|start"
|
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
|
app:layout_constraintBottom_toBottomOf="@id/radio_button"
|
|
app:layout_constraintEnd_toStartOf="@+id/vertical_divider"
|
|
app:layout_constraintStart_toEndOf="@+id/radio_button"
|
|
app:layout_constraintTop_toTopOf="@id/radio_button"
|
|
tools:text="Use recommended settings" />
|
|
|
|
<TextView
|
|
android:id="@+id/widget_summary"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
app:layout_constraintEnd_toStartOf="@+id/vertical_divider"
|
|
app:layout_constraintStart_toStartOf="@+id/title"
|
|
app:layout_constraintTop_toBottomOf="@+id/title"
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
<View
|
|
android:id="@+id/vertical_divider"
|
|
android:layout_width="1dp"
|
|
android:layout_height="0dp"
|
|
android:paddingStart="1dp"
|
|
android:paddingEnd="1dp"
|
|
android:background="?neutralFaded"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/info_button"
|
|
app:layout_constraintStart_toEndOf="@+id/title"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<ImageView
|
|
android:id="@+id/info_button"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginStart="18dp"
|
|
android:layout_marginEnd="18dp"
|
|
app:srcCompat="@drawable/ic_info"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/vertical_divider"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|