| 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="@android:color/white" /> |
| 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:paddingTop="@dimen/drawer_margin_large" | |
| 27 android:orientation="vertical" | 26 android:orientation="vertical" |
| 28 android:background="@android:color/white" > | 27 android:background="@android:color/white" > |
| 29 | 28 |
| 30 <include layout="@layout/download_manager_ui_space_widget"/> | 29 <include layout="@layout/download_manager_ui_space_widget"/> |
| 31 | 30 |
| 32 <ListView | 31 <ListView |
| 33 android:id="@+id/section_list" | 32 android:id="@+id/section_list" |
| 34 android:layout_width="match_parent" | 33 android:layout_width="match_parent" |
| 35 android:layout_height="0dp" | 34 android:layout_height="0dp" |
| 36 android:layout_weight="1" | 35 android:layout_weight="1" |
| 37 android:divider="@null" | 36 android:divider="@null" |
| 38 android:dividerHeight="0dp" /> | 37 android:dividerHeight="0dp" /> |
| 39 </LinearLayout> | 38 </LinearLayout> |
| 40 | 39 |
| 41 </android.support.v4.widget.DrawerLayout> | 40 </android.support.v4.widget.DrawerLayout> |
| OLD | NEW |