OLD | NEW |
| (Empty) |
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. --> | |
5 | |
6 <merge xmlns:android="http://schemas.android.com/apk/res/android"> | |
7 | |
8 <android.support.v7.widget.Toolbar | |
9 android:id="@+id/search_bar" | |
10 android:layout_width="match_parent" | |
11 android:layout_height="?attr/actionBarSize" > | |
12 | |
13 <EditText | |
14 android:id="@+id/bookmark_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/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> | |
26 | |
27 <View | |
28 android:layout_width="match_parent" | |
29 android:layout_height="1dp" | |
30 android:background="#E1E1E1" /> | |
31 | |
32 <view class="org.chromium.chrome.browser.bookmarks.BookmarkSearchView$Histor
yResultSwitcher" | |
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" > | |
38 | |
39 <ListView | |
40 android:id="@+id/bookmark_history_list" | |
41 android:layout_width="match_parent" | |
42 android:layout_height="match_parent" | |
43 android:divider="@null" | |
44 android:dividerHeight="0dp" /> | |
45 | |
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" > | |
52 | |
53 <ListView | |
54 android:id="@+id/bookmark_result_list" | |
55 android:layout_width="match_parent" | |
56 android:layout_height="match_parent" | |
57 android:divider="@null" | |
58 android:dividerHeight="0dp" /> | |
59 | |
60 <TextView | |
61 android:id="@+id/bookmark_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/bookmark_logo_large" | |
67 android:gravity="center" | |
68 android:padding="16dp" | |
69 android:text="@string/bookmark_no_result" | |
70 android:textColor="#5B5B5B" | |
71 android:textSize="16sp" /> | |
72 </ViewSwitcher> | |
73 </view> | |
74 | |
75 </merge> | |
OLD | NEW |