Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4194)

Unified Diff: chrome/android/java/res/layout/search_toolbar.xml

Issue 2640333003: [Downloads UI] Implement search (Closed)
Patch Set: Explicitly handle empty downloads query Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..843be256717c04e5d137687c3da8bf91b1086baa
--- /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="text"
+ 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>
« no previous file with comments | « chrome/android/java/res/layout/history_toolbar.xml ('k') | chrome/android/java/res/menu/download_manager_menu.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698