Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / eb_search_core.xml
blobb16386a6194d9cd086e0860758ad0dc831b12ee7
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" >
13         <EditText
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>
27     <View
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" >
39         <ListView
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" />
46         <ViewSwitcher
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" >
53             <ListView
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" />
60             <TextView
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" />
72         </ViewSwitcher>
73     </view>
75 </merge>