| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2015 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="horizontal" |
| android:gravity="center_vertical" |
| style="@android:style/Theme.Holo.Light"> |
| <view |
| class="org.chromium.chrome.browser.findinpage.FindToolbar$FindQuery" |
| android:id="@+id/find_query" |
| android:layout_width="0dp" |
| android:layout_weight="1" |
| android:layout_height="match_parent" |
| android:layout_gravity="center_vertical" |
| android:layout_marginStart="16dp" |
| android:layout_marginEnd="16dp" |
| android:background="@null" |
| android:hint="@string/hint_find_in_page" |
| android:imeOptions="actionSearch|flagNoExtractUi" |
| android:singleLine="true" |
| android:textAppearance="@style/TextAppearance.TextLarge.Primary" /> |
| <TextView |
| android:id="@+id/find_status" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginEnd="16dp" |
| android:background="@null" |
| android:singleLine="true" |
| android:textAppearance="@style/TextAppearance.TextLarge.Secondary" /> |
| <View |
| android:id="@+id/find_separator" |
| android:layout_width="1dp" |
| android:layout_height="match_parent" |
| android:layout_marginTop="8dp" |
| android:layout_marginBottom="8dp" |
| android:background="@drawable/divider_line_bg" /> |
| <org.chromium.ui.widget.ChromeImageButton |
| android:id="@+id/find_prev_button" |
| style="@style/ToolbarButton" |
| android:layout_height="match_parent" |
| android:src="@drawable/ic_expand_less_black_24dp" |
| android:contentDescription="@string/accessibility_find_toolbar_btn_prev" |
| app:tint="@color/default_icon_color_tint_list" /> |
| <org.chromium.ui.widget.ChromeImageButton |
| android:id="@+id/find_next_button" |
| style="@style/ToolbarButton" |
| android:layout_height="match_parent" |
| android:src="@drawable/ic_expand_more_black_24dp" |
| android:contentDescription="@string/accessibility_find_toolbar_btn_next" |
| app:tint="@color/default_icon_color_tint_list" /> |
| <org.chromium.ui.widget.ChromeImageButton |
| android:id="@+id/close_find_button" |
| style="@style/ToolbarButton" |
| android:layout_height="match_parent" |
| android:src="@drawable/btn_close" |
| android:contentDescription="@string/close" |
| app:tint="@color/default_icon_color_tint_list" /> |
| </LinearLayout> |