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

Side by Side Diff: chrome/android/java/res/layout-sw720dp/bookmark_main.xml

Issue 2768663002: [Bookmarks] Refactor search view to use SelectableListLayout paradigm (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 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 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:layout_width="match_parent" 7 android:layout_width="match_parent"
8 android:layout_height="match_parent" 8 android:layout_height="match_parent"
9 android:orientation="horizontal" > 9 android:orientation="horizontal" >
10 10
11 <org.chromium.chrome.browser.bookmarks.BookmarkDrawerListView 11 <org.chromium.chrome.browser.bookmarks.BookmarkDrawerListView
12 android:id="@+id/bookmark_drawer_list" 12 android:id="@+id/bookmark_drawer_list"
13 android:layout_width="256dp" 13 android:layout_width="256dp"
14 android:layout_height="match_parent" 14 android:layout_height="match_parent"
15 android:layout_gravity="start" 15 android:layout_gravity="start"
16 android:background="@android:color/white" 16 android:background="@android:color/white"
17 android:choiceMode="singleChoice" 17 android:choiceMode="singleChoice"
18 android:divider="@null" 18 android:divider="@null"
19 android:dividerHeight="0dp" /> 19 android:dividerHeight="0dp" />
20 20
21 <ViewSwitcher 21 <org.chromium.chrome.browser.widget.selection.SelectableListLayout
22 android:id="@+id/bookmark_view_switcher" 22 android:id="@+id/selectable_list"
23 android:layout_width="match_parent" 23 android:layout_width="match_parent"
24 android:layout_height="match_parent" 24 android:layout_height="match_parent"
25 android:inAnimation="@android:anim/fade_in" 25 android:background="@android:color/white" />
26 android:outAnimation="@android:anim/fade_out" >
27
28 <org.chromium.chrome.browser.widget.selection.SelectableListLayout
29 android:id="@+id/selectable_list"
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 android:background="@android:color/white" />
33
34 <include layout="@layout/bookmark_search" />
35 </ViewSwitcher>
36 26
37 </LinearLayout> 27 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698