[fenix] For https://github.com/mozilla-mobile/fenix/issues/24252 - Rename primaryText...
[gecko.git] / mobile / android / fenix / app / src / main / res / layout / preference_search_add_engine.xml
blobaf882006a1b4178aa62eaaf9867f9e1680408de2
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 <androidx.constraintlayout.widget.ConstraintLayout 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_width="match_parent"
9     android:layout_height="@dimen/search_engine_radio_button_height"
10     android:background="?android:selectableItemBackground"
11     android:clickable="true"
12     android:focusable="true"
13     android:paddingStart="@dimen/top_bar_alignment_margin_start"
14     tools:ignore="RtlSymmetry">
16     <ImageView
17         android:id="@+id/add_icon"
18         android:layout_width="wrap_content"
19         android:layout_height="wrap_content"
20         android:importantForAccessibility="no"
21         android:textAlignment="textStart"
22         app:layout_constraintBottom_toBottomOf="parent"
23         app:layout_constraintStart_toStartOf="parent"
24         app:layout_constraintTop_toTopOf="parent"
25         app:srcCompat="@drawable/ic_new" />
27     <TextView
28         android:id="@+id/add_engine_text"
29         android:layout_width="0dp"
30         android:layout_height="wrap_content"
31         android:layout_marginStart="@dimen/radio_button_padding_horizontal"
32         android:layout_marginEnd="@dimen/radio_button_padding_horizontal"
33         android:text="@string/search_engine_add_custom_search_engine_title"
34         android:textColor="?attr/textPrimary"
35         android:textSize="16sp"
36         app:layout_constraintBottom_toBottomOf="parent"
37         app:layout_constraintEnd_toEndOf="parent"
38         app:layout_constraintStart_toEndOf="@id/add_icon"
39         app:layout_constraintTop_toTopOf="parent" />
40 </androidx.constraintlayout.widget.ConstraintLayout>