OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.co
m/apk/res/android" | 8 <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.co
m/apk/res/android" |
9 android:id="@+id/drawer_layout" | 9 android:id="@+id/drawer_layout" |
10 android:layout_width="match_parent" | 10 android:layout_width="match_parent" |
11 android:layout_height="match_parent" | 11 android:layout_height="match_parent" |
12 android:fitsSystemWindows="true"> | 12 android:fitsSystemWindows="true"> |
13 <!-- The main content view. --> | 13 <!-- The main content view. --> |
14 <LinearLayout | 14 <LinearLayout |
15 android:layout_width="match_parent" | 15 android:layout_width="match_parent" |
16 android:layout_height="wrap_content" | 16 android:layout_height="wrap_content" |
17 android:orientation="vertical"> | 17 android:orientation="vertical"> |
18 <android.support.v7.widget.Toolbar | 18 <android.support.v7.widget.Toolbar |
19 android:id="@+id/toolbar" | 19 android:id="@+id/toolbar" |
20 android:layout_width="match_parent" | 20 android:layout_width="match_parent" |
21 android:layout_height="wrap_content" | 21 android:layout_height="wrap_content" |
22 android:background="?attr/colorPrimary" | 22 style="@style/ToolbarStyle"/> |
23 android:elevation="4dp"/> | |
24 <FrameLayout | 23 <FrameLayout |
25 android:layout_height="match_parent" | 24 android:layout_height="match_parent" |
26 android:layout_width="match_parent"> | 25 android:layout_width="match_parent"> |
27 <ListView | 26 <ListView |
28 android:id="@+id/hostList_chooser" | 27 android:id="@+id/hostList_chooser" |
29 android:layout_height="match_parent" | 28 android:layout_height="match_parent" |
30 android:layout_width="match_parent"/> | 29 android:layout_width="match_parent"/> |
31 <LinearLayout | 30 <LinearLayout |
32 android:id="@+id/hostList_empty" | 31 android:id="@+id/hostList_empty" |
33 android:gravity="center" | 32 android:gravity="center" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 <LinearLayout | 74 <LinearLayout |
76 android:id="@+id/navigation_drawer" | 75 android:id="@+id/navigation_drawer" |
77 android:layout_width="300dp" | 76 android:layout_width="300dp" |
78 android:layout_height="match_parent" | 77 android:layout_height="match_parent" |
79 android:orientation="vertical" | 78 android:orientation="vertical" |
80 android:layout_gravity="start" | 79 android:layout_gravity="start" |
81 android:background="@android:color/background_light" | 80 android:background="@android:color/background_light" |
82 android:fitsSystemWindows="true"> | 81 android:fitsSystemWindows="true"> |
83 </LinearLayout> | 82 </LinearLayout> |
84 </android.support.v4.widget.DrawerLayout> | 83 </android.support.v4.widget.DrawerLayout> |
OLD | NEW |