Revision control

Copy as Markdown

<?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"
android:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
android:orientation="horizontal"
android:paddingTop="6dp"
android:paddingBottom="6dp">
<RadioButton
android:id="@+id/radio_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="76dp"
android:background="@android:color/transparent"
android:button="@null"
android:clickable="false"
android:focusable="false"
app:layout_constraintBottom_toBottomOf="@id/title"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/title"
tools:drawableStart="?android:attr/listChoiceIndicatorSingle" />
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="14dp"
android:layout_marginEnd="8dp"
android:letterSpacing="0.01"
android:lineSpacingExtra="5sp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1"
app:layout_constraintBottom_toTopOf="@id/widget_summary"
app:layout_constraintEnd_toStartOf="@+id/vertical_divider"
app:layout_constraintStart_toEndOf="@+id/radio_button"
app:layout_constraintTop_toTopOf="@id/vertical_divider"
app:layout_constraintVertical_chainStyle="packed"
tools:text="Use recommended settings" />
<TextView
android:id="@+id/widget_summary"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:letterSpacing="0.02"
android:lineSpacingExtra="4sp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
android:textColor="?android:attr/textColorSecondary"
app:layout_constraintBottom_toBottomOf="@id/vertical_divider"
app:layout_constraintEnd_toEndOf="@id/title"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="@tools:sample/full_names" />
<View
android:id="@+id/vertical_divider"
android:layout_width="1dp"
android:layout_height="0dp"
android:background="?borderPrimary"
android:paddingStart="1dp"
android:paddingEnd="1dp"
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="19dp"
android:layout_marginEnd="19dp"
android:contentDescription="@string/radio_preference_info_content_description"
app:layout_constraintBottom_toBottomOf="@id/vertical_divider"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/vertical_divider"
app:layout_constraintTop_toTopOf="@id/vertical_divider"
app:srcCompat="@drawable/ic_info" />
</androidx.constraintlayout.widget.ConstraintLayout>