Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 3 | Copyright (C) 2014 The Android Open Source Project |
Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 4 | |
| 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 Shah | 8e65c6d | 2013-03-07 16:47:25 -0800 | [diff] [blame] | 18 | <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/drawer_container" |
Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 20 | android:layout_width="match_parent" |
Rohan Shah | 8e65c6d | 2013-03-07 16:47:25 -0800 | [diff] [blame] | 21 | android:layout_height="match_parent"> |
| 22 | |
Andy Huang | 1aced4c | 2013-04-29 11:38:40 -0700 | [diff] [blame] | 23 | <!-- DrawerLayout current only supports one content view (b/8752191) --> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 24 | <LinearLayout |
Andy Huang | 491ea3e | 2013-04-02 13:55:11 -0700 | [diff] [blame] | 25 | android:layout_width="match_parent" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 26 | android:layout_height="match_parent" |
| 27 | android:orientation="vertical"> |
| 28 | |
Jin Cao | c6801eb | 2014-08-12 18:16:57 -0700 | [diff] [blame] | 29 | <!-- Custom toolbar/search overlay --> |
| 30 | <include layout="@layout/toolbar_with_search" /> |
Rohan Shah | 8e65c6d | 2013-03-07 16:47:25 -0800 | [diff] [blame] | 31 | |
Andy Huang | 1aced4c | 2013-04-29 11:38:40 -0700 | [diff] [blame] | 32 | <FrameLayout |
Andy Huang | 1aced4c | 2013-04-29 11:38:40 -0700 | [diff] [blame] | 33 | android:layout_width="match_parent" |
Rohan Shah | d7f671e | 2014-09-04 12:27:12 -0700 | [diff] [blame] | 34 | android:layout_height="match_parent" |
| 35 | android:foregroundGravity="fill_horizontal|top" |
| 36 | android:foreground="?android:attr/windowContentOverlay" > |
Andy Huang | 1aced4c | 2013-04-29 11:38:40 -0700 | [diff] [blame] | 37 | |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 38 | <FrameLayout |
| 39 | android:id="@+id/content_pane" |
| 40 | android:layout_width="match_parent" |
| 41 | android:layout_height="match_parent" /> |
Andy Huang | 1aced4c | 2013-04-29 11:38:40 -0700 | [diff] [blame] | 42 | |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 43 | <include layout="@layout/conversation_pager" /> |
Rohan Shah | 8e65c6d | 2013-03-07 16:47:25 -0800 | [diff] [blame] | 44 | |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 45 | <include layout="@layout/floating_actions" /> |
| 46 | |
Jin Cao | c6801eb | 2014-08-12 18:16:57 -0700 | [diff] [blame] | 47 | <include layout="@layout/search_suggestion_list" /> |
| 48 | |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 49 | </FrameLayout> |
| 50 | |
| 51 | </LinearLayout> |
Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 52 | |
Vikram Aggarwal | 23b528f | 2013-03-29 13:55:23 -0700 | [diff] [blame] | 53 | <!--A drawer for phones: a pull-out that gives the list of folders. --> |
Andrew Sapperstein | 643b6b4 | 2014-02-06 18:09:27 -0800 | [diff] [blame] | 54 | <include layout="@layout/drawer_fragment" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 55 | android:layout_width="@dimen/drawer_width" |
| 56 | android:layout_height="match_parent" |
| 57 | android:layout_gravity="start" /> |
Andy Huang | 632721e | 2012-04-11 16:57:26 -0700 | [diff] [blame] | 58 | |
Rohan Shah | 40370bd | 2014-09-02 15:59:43 -0700 | [diff] [blame] | 59 | </android.support.v4.widget.DrawerLayout> |