blob: c76beedc6a5e51bc643f4bff9d6966721d0ae4a8 [file] [log] [blame]
Vikram Aggarwal1ddcf0f2012-01-13 11:45:02 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
Andrew Sapperstein52882ff2014-07-27 12:30:18 -07003 Copyright (C) 2014 The Android Open Source Project
Vikram Aggarwal1ddcf0f2012-01-13 11:45:02 -08004
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
Rohan Shah8e65c6d2013-03-07 16:47:25 -080018<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:id="@+id/drawer_container"
Vikram Aggarwal1ddcf0f2012-01-13 11:45:02 -080020 android:layout_width="match_parent"
Rohan Shah8e65c6d2013-03-07 16:47:25 -080021 android:layout_height="match_parent">
22
Andy Huang1aced4c2013-04-29 11:38:40 -070023 <!-- DrawerLayout current only supports one content view (b/8752191) -->
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070024 <LinearLayout
Andy Huang491ea3e2013-04-02 13:55:11 -070025 android:layout_width="match_parent"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070026 android:layout_height="match_parent"
27 android:orientation="vertical">
28
Jin Caoc6801eb2014-08-12 18:16:57 -070029 <!-- Custom toolbar/search overlay -->
30 <include layout="@layout/toolbar_with_search" />
Rohan Shah8e65c6d2013-03-07 16:47:25 -080031
Andy Huang1aced4c2013-04-29 11:38:40 -070032 <FrameLayout
Andy Huang1aced4c2013-04-29 11:38:40 -070033 android:layout_width="match_parent"
Rohan Shahd7f671e2014-09-04 12:27:12 -070034 android:layout_height="match_parent"
35 android:foregroundGravity="fill_horizontal|top"
36 android:foreground="?android:attr/windowContentOverlay" >
Andy Huang1aced4c2013-04-29 11:38:40 -070037
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070038 <FrameLayout
39 android:id="@+id/content_pane"
40 android:layout_width="match_parent"
41 android:layout_height="match_parent" />
Andy Huang1aced4c2013-04-29 11:38:40 -070042
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070043 <include layout="@layout/conversation_pager" />
Rohan Shah8e65c6d2013-03-07 16:47:25 -080044
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070045 <include layout="@layout/floating_actions" />
46
Jin Caoc6801eb2014-08-12 18:16:57 -070047 <include layout="@layout/search_suggestion_list" />
48
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070049 </FrameLayout>
50
51 </LinearLayout>
Vikram Aggarwal1ddcf0f2012-01-13 11:45:02 -080052
Vikram Aggarwal23b528f2013-03-29 13:55:23 -070053 <!--A drawer for phones: a pull-out that gives the list of folders. -->
Andrew Sapperstein643b6b42014-02-06 18:09:27 -080054 <include layout="@layout/drawer_fragment"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070055 android:layout_width="@dimen/drawer_width"
56 android:layout_height="match_parent"
57 android:layout_gravity="start" />
Andy Huang632721e2012-04-11 16:57:26 -070058
Rohan Shah40370bd2014-09-02 15:59:43 -070059</android.support.v4.widget.DrawerLayout>