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

Side by Side Diff: chrome/android/java/res/layout/bookmark_main.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 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 <ViewSwitcher xmlns:android="http://schemas.android.com/apk/res/android" 6 <android.support.v4.widget.DrawerLayout
7 android:id="@+id/bookmark_view_switcher" 7 xmlns:android="http://schemas.android.com/apk/res/android"
8 android:id="@+id/bookmark_drawer_layout"
8 android:layout_width="match_parent" 9 android:layout_width="match_parent"
9 android:layout_height="match_parent" 10 android:layout_height="match_parent" >
10 android:inAnimation="@android:anim/fade_in"
11 android:outAnimation="@android:anim/fade_out" >
12 11
13 <android.support.v4.widget.DrawerLayout 12 <org.chromium.chrome.browser.widget.selection.SelectableListLayout
14 android:id="@+id/bookmark_drawer_layout" 13 android:id="@+id/selectable_list"
15 android:layout_width="match_parent" 14 android:layout_width="match_parent"
16 android:layout_height="match_parent" > 15 android:layout_height="match_parent"
16 android:background="@color/default_primary_color" />
17 17
18 <org.chromium.chrome.browser.widget.selection.SelectableListLayout 18 <org.chromium.chrome.browser.bookmarks.BookmarkDrawerListView
19 android:id="@+id/selectable_list" 19 android:id="@+id/bookmark_drawer_list"
20 android:layout_width="match_parent" 20 android:layout_width="@dimen/drawer_width"
21 android:layout_height="match_parent" 21 android:layout_height="match_parent"
22 android:background="@color/default_primary_color" /> 22 android:layout_gravity="start"
23 23 android:background="@android:color/white"
24 <org.chromium.chrome.browser.bookmarks.BookmarkDrawerListView 24 android:choiceMode="singleChoice"
25 android:id="@+id/bookmark_drawer_list" 25 android:divider="@null"
26 android:layout_width="@dimen/drawer_width" 26 android:dividerHeight="0dp" />
27 android:layout_height="match_parent" 27 </android.support.v4.widget.DrawerLayout>
28 android:layout_gravity="start"
29 android:background="@android:color/white"
30 android:choiceMode="singleChoice"
31 android:divider="@null"
32 android:dividerHeight="0dp" />
33 </android.support.v4.widget.DrawerLayout>
34
35 <include layout="@layout/bookmark_search"/>
36
37 </ViewSwitcher>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout-sw720dp/bookmark_main.xml ('k') | chrome/android/java/res/layout/bookmark_search.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698