1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
6 xmlns:app="http://schemas.android.com/apk/res-auto"
7 xmlns:tools="http://schemas.android.com/tools"
8 android:layout_height="@dimen/search_engine_radio_button_height"
9 android:layout_width="match_parent"
10 android:minHeight="@dimen/radio_button_preference_height"
11 android:background="?android:selectableItemBackground"
12 android:clickable="true"
13 android:labelFor="@+id/radio_button"
14 android:focusable="true">
16 android:id="@+id/radio_button"
17 android:layout_width="@dimen/search_engine_radio_button_height"
18 android:layout_height="@dimen/search_engine_radio_button_height"
19 android:textAppearance="?android:attr/textAppearanceListItem"
20 android:layout_marginStart="@dimen/search_bar_search_engine_icon_padding"
21 android:layout_gravity="center" />
23 android:id="@+id/engine_icon"
24 android:importantForAccessibility="no"
25 android:layout_width="@dimen/search_engine_engine_icon_height"
26 android:layout_height="@dimen/search_engine_engine_icon_height"
27 android:layout_marginStart="@dimen/search_engine_engine_icon_margin"
28 android:layout_gravity="center" />
30 android:id="@+id/engine_text"
31 android:textColor="?attr/textPrimary"
32 android:layout_width="0dp"
33 android:layout_height="wrap_content"
34 android:layout_marginStart="@dimen/radio_button_padding_horizontal"
35 android:layout_marginEnd="@dimen/radio_button_padding_horizontal"
36 android:textSize="16sp"
38 android:layout_weight="1"
39 android:layout_gravity="center" />
41 android:id="@+id/overflow_menu"
42 android:layout_width="@dimen/glyph_button_width"
43 android:layout_height="@dimen/glyph_button_height"
44 android:background="?android:attr/selectableItemBackgroundBorderless"
45 android:contentDescription="@string/content_description_menu"
46 app:srcCompat="@drawable/ic_menu" />