Chromium Code Reviews| Index: chrome/android/java/res/layout/search_toolbar.xml |
| diff --git a/chrome/android/java/res/layout/search_toolbar.xml b/chrome/android/java/res/layout/search_toolbar.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..251f4a442c3c64c14ea963b9b25830853a9e7f78 |
| --- /dev/null |
| +++ b/chrome/android/java/res/layout/search_toolbar.xml |
| @@ -0,0 +1,40 @@ |
| +<?xml version="1.0" encoding="utf-8"?> |
| +<!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| + 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:chrome="http://schemas.android.com/apk/res-auto" |
| + android:id="@+id/search_view" |
| + android:layout_width="match_parent" |
| + android:layout_height="match_parent" |
| + android:orientation="horizontal" |
| + android:visibility="gone" > |
| + |
| + <EditText |
| + android:id="@+id/search_text" |
| + android:layout_width="0dp" |
| + android:layout_height="match_parent" |
| + android:layout_weight="1" |
| + android:background="@null" |
| + android:imeOptions="flagNoExtractUi|actionSearch" |
| + android:inputType="textNoSuggestions" |
|
gone
2017/01/20 20:13:00
I guess suggestions wouldn't like the domain match
Theresa
2017/01/20 21:16:18
Changed this to plain old text as discussed offlin
|
| + android:singleLine="true" |
| + android:textColor="@color/default_text_color" |
| + android:textSize="16sp" /> |
| + |
| + <org.chromium.chrome.browser.widget.TintedImageButton |
| + android:id="@+id/clear_text_button" |
| + android:layout_width="wrap_content" |
| + android:layout_height="match_parent" |
| + android:paddingStart="16dp" |
| + android:paddingEnd="16dp" |
| + android:src="@drawable/btn_delete_url" |
| + android:background="@null" |
| + android:scaleType="center" |
| + android:contentDescription="@string/accessibility_toolbar_btn_delete_url" |
| + android:visibility="invisible" |
| + chrome:tint="@color/dark_mode_tint" /> |
| + |
| +</LinearLayout> |