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