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

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

Issue 2768663002: [Bookmarks] Refactor search view to use SelectableListLayout paradigm (Closed)
Patch Set: Fix spelling error Created 3 years, 9 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/bookmark_search_core.xml
diff --git a/chrome/android/java/res/layout/bookmark_search_core.xml b/chrome/android/java/res/layout/bookmark_search_core.xml
deleted file mode 100644
index 86d52473c7dbc87bac1695175b65d5a9820e5ea1..0000000000000000000000000000000000000000
--- a/chrome/android/java/res/layout/bookmark_search_core.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright 2015 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. -->
-
-<merge xmlns:android="http://schemas.android.com/apk/res/android">
-
- <android.support.v7.widget.Toolbar
- android:id="@+id/search_bar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize" >
-
- <EditText
- android:id="@+id/bookmark_search_text"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@null"
- android:gravity="center_vertical"
- android:hint="@string/bookmark_action_bar_search"
- android:imeOptions="flagNoExtractUi|actionSearch"
- android:inputType="textNoSuggestions"
- android:singleLine="true"
- android:textColor="#343434"
- android:textSize="20sp" />
- </android.support.v7.widget.Toolbar>
-
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#E1E1E1" />
-
- <view class="org.chromium.chrome.browser.bookmarks.BookmarkSearchView$HistoryResultSwitcher"
- android:id="@+id/history_result_switcher"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:inAnimation="@android:anim/fade_in"
- android:outAnimation="@android:anim/fade_out" >
-
- <ListView
- android:id="@+id/bookmark_history_list"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:divider="@null"
- android:dividerHeight="0dp" />
-
- <ViewSwitcher
- android:id="@+id/result_empty_switcher"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:inAnimation="@android:anim/fade_in"
- android:outAnimation="@android:anim/fade_out" >
-
- <ListView
- android:id="@+id/bookmark_result_list"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:divider="@null"
- android:dividerHeight="0dp" />
-
- <TextView
- android:id="@+id/bookmark_search_empty_view"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:drawablePadding="3dp"
- android:drawableTop="@drawable/bookmark_logo_large"
- android:gravity="center"
- android:padding="16dp"
- android:text="@string/bookmark_no_result"
- android:textColor="#5B5B5B"
- android:textSize="16sp" />
- </ViewSwitcher>
- </view>
-
-</merge>
« no previous file with comments | « chrome/android/java/res/layout/bookmark_search.xml ('k') | chrome/android/java/res/layout/bookmark_search_row.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698