1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 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. -->
6 <merge xmlns:android="http://schemas.android.com/apk/res/android">
8 <android.support.v7.widget.Toolbar
9 android:id="@+id/search_bar"
10 android:layout_width="match_parent"
11 android:layout_height="?attr/actionBarSize" >
14 android:id="@+id/eb_search_text"
15 android:layout_width="match_parent"
16 android:layout_height="match_parent"
17 android:background="@null"
18 android:gravity="center_vertical"
19 android:hint="@string/enhanced_bookmark_action_bar_search"
20 android:imeOptions="flagNoExtractUi|actionSearch"
21 android:inputType="textNoSuggestions"
22 android:singleLine="true"
23 android:textColor="#343434"
24 android:textSize="20sp" />
25 </android.support.v7.widget.Toolbar>
28 android:layout_width="match_parent"
29 android:layout_height="1dp"
30 android:background="#E1E1E1" />
32 <view class="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkSearchView$HistoryResultSwitcher"
33 android:id="@+id/history_result_switcher"
34 android:layout_width="match_parent"
35 android:layout_height="match_parent"
36 android:inAnimation="@android:anim/fade_in"
37 android:outAnimation="@android:anim/fade_out" >
40 android:id="@+id/eb_history_list"
41 android:layout_width="match_parent"
42 android:layout_height="match_parent"
43 android:divider="@null"
44 android:dividerHeight="0dp" />
47 android:id="@+id/result_empty_switcher"
48 android:layout_width="match_parent"
49 android:layout_height="match_parent"
50 android:inAnimation="@android:anim/fade_in"
51 android:outAnimation="@android:anim/fade_out" >
54 android:id="@+id/eb_result_list"
55 android:layout_width="match_parent"
56 android:layout_height="match_parent"
57 android:divider="@null"
58 android:dividerHeight="0dp" />
61 android:id="@+id/eb_search_empty_view"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:layout_gravity="center"
65 android:drawablePadding="3dp"
66 android:drawableTop="@drawable/eb_logo_large"
67 android:gravity="center"
68 android:padding="16dp"
69 android:text="@string/enhanced_bookmark_no_result"
70 android:textColor="#5B5B5B"
71 android:textSize="16sp" />