Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. --> | |
| 5 | |
| 6 <LinearLayout | |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" | |
| 9 android:id="@+id/search_view" | |
| 10 android:layout_width="match_parent" | |
| 11 android:layout_height="match_parent" | |
| 12 android:orientation="horizontal" | |
| 13 android:visibility="gone" > | |
| 14 | |
| 15 <EditText | |
| 16 android:id="@+id/search_text" | |
| 17 android:layout_width="0dp" | |
| 18 android:layout_height="match_parent" | |
| 19 android:layout_weight="1" | |
| 20 android:background="@null" | |
| 21 android:imeOptions="flagNoExtractUi|actionSearch" | |
| 22 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
| |
| 23 android:singleLine="true" | |
| 24 android:textColor="@color/default_text_color" | |
| 25 android:textSize="16sp" /> | |
| 26 | |
| 27 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 28 android:id="@+id/clear_text_button" | |
| 29 android:layout_width="wrap_content" | |
| 30 android:layout_height="match_parent" | |
| 31 android:paddingStart="16dp" | |
| 32 android:paddingEnd="16dp" | |
| 33 android:src="@drawable/btn_delete_url" | |
| 34 android:background="@null" | |
| 35 android:scaleType="center" | |
| 36 android:contentDescription="@string/accessibility_toolbar_btn_delete_url " | |
| 37 android:visibility="invisible" | |
| 38 chrome:tint="@color/dark_mode_tint" /> | |
| 39 | |
| 40 </LinearLayout> | |
| OLD | NEW |