| OLD | NEW |
| 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> | |
| OLD | NEW |