OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 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 <android.support.v4.widget.DrawerLayout | 6 <org.chromium.chrome.browser.widget.selection.SelectableListLayout |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 android:id="@+id/selectable_list" |
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 | 11 android:background="@color/default_primary_color"/> |
11 <!-- MAIN CONTENT --> | |
12 <org.chromium.chrome.browser.widget.selection.SelectableListLayout | |
13 android:id="@+id/selectable_list" | |
14 android:layout_width="match_parent" | |
15 android:layout_height="match_parent" | |
16 android:background="@color/default_primary_color" /> | |
17 | |
18 <!-- NAVIGATION DRAWER | |
19 We can't assign a paddingStart or paddingEnd because the section highli
ghts are full-bleed. | |
20 --> | |
21 <LinearLayout | |
22 android:id="@+id/drawer_layout" | |
23 android:layout_width="@dimen/drawer_width" | |
24 android:layout_height="match_parent" | |
25 android:layout_gravity="start" | |
26 android:orientation="vertical" | |
27 android:background="@android:color/white" | |
28 android:clickable="true" > | |
29 | |
30 <include layout="@layout/download_manager_ui_space_widget"/> | |
31 | |
32 <ListView | |
33 android:id="@+id/section_list" | |
34 android:layout_width="match_parent" | |
35 android:layout_height="0dp" | |
36 android:layout_weight="1" | |
37 android:divider="@null" | |
38 android:dividerHeight="0dp" /> | |
39 </LinearLayout> | |
40 | |
41 </android.support.v4.widget.DrawerLayout> | |
OLD | NEW |