Source code

Revision control

Copy as Markdown

Other Tools

<?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/. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="48dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="@dimen/top_bar_no_icon_alignment_margin_start"
android:paddingEnd="16dp"
android:foreground="?android:attr/selectableItemBackground">
<RadioButton
android:id="@+id/row_radio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="0dp"
android:padding="0dp"
android:focusable="false"
android:clickable="false"
android:button="@null"/>
<ImageView
android:id="@+id/row_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="@dimen/top_bar_no_icon_alignment_margin_start"
android:layout_marginEnd="8dp"
android:contentDescription="@null" />
<TextView
android:id="@+id/row_label"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textAppearance="?android:attr/textAppearanceListItem" />
</LinearLayout>