[fenix] For https://github.com/mozilla-mobile/fenix/issues/24252 - Rename primaryText...
[gecko.git] / mobile / android / fenix / app / src / main / res / layout / custom_search_engine_radio_button.xml
blob3a2668fed721eb6f06f797c11305fcca941f43e3
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/. -->
6 <androidx.constraintlayout.widget.ConstraintLayout
7     xmlns:android="http://schemas.android.com/apk/res/android"
8     xmlns:app="http://schemas.android.com/apk/res-auto"
9     android:layout_height="@dimen/search_engine_radio_button_height"
10     android:minHeight="@dimen/radio_button_preference_height"
11     android:layout_width="match_parent"
12     android:background="?android:selectableItemBackground"
13     android:clickable="true"
14     android:focusable="true">
15     <RadioButton
16         android:id="@+id/radio_button"
17         android:layout_width="wrap_content"
18         android:layout_height="wrap_content"
19         android:importantForAccessibility="no"
20         android:textAlignment="textStart"
21         android:textAppearance="?android:attr/textAppearanceListItem"
22         android:layout_marginStart="@dimen/search_bar_search_engine_icon_padding"
23         app:layout_constraintStart_toStartOf="parent"
24         app:layout_constraintTop_toTopOf="parent"
25         app:layout_constraintBottom_toBottomOf="parent"/>
26     <TextView
27         android:id="@+id/engine_text"
28         android:textColor="?attr/textPrimary"
29         android:layout_width="0dp"
30         android:layout_height="wrap_content"
31         android:layout_marginStart="@dimen/search_bar_search_icon_margin"
32         android:layout_marginEnd="@dimen/radio_button_padding_horizontal"
33         android:text="@string/search_add_custom_engine_label_other"
34         android:textSize="16sp"
35         app:layout_constraintStart_toEndOf="@id/radio_button"
36         app:layout_constraintTop_toTopOf="parent"
37         app:layout_constraintBottom_toBottomOf="parent"
38         app:layout_constraintEnd_toEndOf="parent" />
39 </androidx.constraintlayout.widget.ConstraintLayout>