Bug 1840210 - Rename mozac_ic_close to mozac_ic_cross_24
[gecko.git] / mobile / android / android-components / components / feature / findinpage / src / main / res / layout / mozac_feature_findinpage_view.xml
blob8ef497b948495098b31b1f90a8de19f427aaefe9
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 <merge
7         xmlns:android="http://schemas.android.com/apk/res/android"
8         xmlns:app="http://schemas.android.com/apk/res-auto"
9         xmlns:tools="http://schemas.android.com/tools"
10         android:layout_width="match_parent"
11         android:layout_height="48dp"
12         android:clickable="false"
13         android:focusable="false"
14         android:focusableInTouchMode="false"
15         tools:background="#ffffffff"
16         tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
18     <EditText
19             android:id="@+id/find_in_page_query_text"
20             android:layout_width="0dp"
21             android:layout_height="match_parent"
22             android:layout_marginStart="@dimen/mozac_feature_findinpage_query_marginStart"
23             android:background="#00000000"
24             android:ems="10"
25             android:gravity="center_vertical"
26             android:hint="@string/mozac_feature_findindpage_input"
27             android:accessibilityHeading="true"
28             android:importantForAccessibility="yes"
29             android:clickable="true"
30             android:focusable="true"
31             android:focusableInTouchMode="true"
32             android:inputType="textNoSuggestions"
33             android:lines="1"
34             android:maxLines="1"
35             android:textSize="@dimen/mozac_feature_findinpage_query_text_size"
36             app:layout_constraintEnd_toStartOf="@id/find_in_page_result_text"
37             app:layout_constraintStart_toStartOf="parent"
38             android:importantForAutofill="no"
39             tools:ignore="UnusedAttribute"/>
41     <TextView
42             android:id="@+id/find_in_page_result_text"
43             android:layout_width="wrap_content"
44             android:layout_height="wrap_content"
45             android:layout_marginEnd="@dimen/mozac_feature_findinpage_result_count_margin_end"
46             android:layout_marginStart="@dimen/mozac_feature_findinpage_result_count_margin_start"
47             android:textSize="@dimen/mozac_feature_findinpage_result_count_text_size"
48             app:layout_constraintBottom_toBottomOf="parent"
49             app:layout_constraintEnd_toStartOf="@id/find_in_page_prev_btn"
50             app:layout_constraintStart_toEndOf="@+id/find_in_page_query_text"
51             app:layout_constraintTop_toTopOf="parent"
52             tools:text="10/20"/>
54     <androidx.appcompat.widget.AppCompatImageButton
55             android:id="@+id/find_in_page_prev_btn"
56             style="@style/Mozac.Feature.FindInPage.Buttons"
57             android:contentDescription="@string/mozac_feature_findindpage_previous_result"
58             app:srcCompat="@drawable/mozac_ic_arrowhead_up"
59             app:layout_constraintBottom_toBottomOf="parent"
60             app:layout_constraintEnd_toStartOf="@id/find_in_page_next_btn"
61             app:layout_constraintStart_toEndOf="@+id/find_in_page_result_text"
62             app:layout_constraintTop_toTopOf="parent"/>
64     <androidx.appcompat.widget.AppCompatImageButton
65             android:id="@+id/find_in_page_next_btn"
66             style="@style/Mozac.Feature.FindInPage.Buttons"
67             android:contentDescription="@string/mozac_feature_findindpage_next_result"
68             app:srcCompat="@drawable/mozac_ic_arrowhead_down"
69             app:layout_constraintBottom_toBottomOf="parent"
70             app:layout_constraintEnd_toStartOf="@id/find_in_page_close_btn"
71             app:layout_constraintStart_toEndOf="@+id/find_in_page_prev_btn"
72             app:layout_constraintTop_toTopOf="parent"/>
74     <androidx.appcompat.widget.AppCompatImageButton
75             android:id="@+id/find_in_page_close_btn"
76             style="@style/Mozac.Feature.FindInPage.Buttons"
77             android:contentDescription="@string/mozac_feature_findindpage_dismiss"
78             app:srcCompat="@drawable/mozac_ic_cross_24"
79             app:layout_constraintBottom_toBottomOf="parent"
80             app:layout_constraintEnd_toEndOf="parent"
81             app:layout_constraintStart_toEndOf="@+id/find_in_page_next_btn"
82             app:layout_constraintTop_toTopOf="parent"/>
83 </merge>