Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2011 Google Inc.
      4      Licensed to The Android Open Source Project.
      5 
      6      Licensed under the Apache License, Version 2.0 (the "License");
      7      you may not use this file except in compliance with the License.
      8      You may obtain a copy of the License at
      9 
     10           http://www.apache.org/licenses/LICENSE-2.0
     11 
     12      Unless required by applicable law or agreed to in writing, software
     13      distributed under the License is distributed on an "AS IS" BASIS,
     14      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15      See the License for the specific language governing permissions and
     16      limitations under the License.
     17 -->
     18 <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:id="@+id/drawer_container"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent">
     22 
     23     <!-- DrawerLayout current only supports one content view (b/8752191) -->
     24     <com.android.mail.ui.TwoPaneLayout
     25         android:id="@+id/two_pane_activity"
     26         android:layout_width="match_parent"
     27         android:layout_height="match_parent">
     28 
     29         <FrameLayout
     30             android:id="@+id/content_pane"
     31             android:layout_width="0dp"
     32             android:layout_height="match_parent">
     33             <fragment class="com.android.mail.ui.DrawerFragment"
     34                 android:id="@+id/drawer_pullout"
     35                 android:layout_width="match_parent"
     36                 android:layout_height="match_parent" />
     37 
     38             <FrameLayout android:id="@+id/folders_pane_edge"
     39                 android:layout_width="8dp"
     40                 android:layout_height="match_parent"
     41                 android:layout_gravity="right"
     42                 android:background="@drawable/shadow_right">
     43 
     44                 <View
     45                     android:layout_width="1dp"
     46                     android:layout_height="match_parent"
     47                     android:layout_gravity="right"
     48                     android:background="@color/light_gray" />
     49 
     50             </FrameLayout>
     51         </FrameLayout>
     52 
     53         <FrameLayout
     54             android:id="@+id/conversation_list_pane"
     55             android:layout_width="0dp"
     56             android:layout_height="match_parent" />
     57 
     58         <com.android.mail.ui.ConversationListCopy
     59             android:id="@+id/conversation_list_copy"
     60             android:layout_width="0dp"
     61             android:layout_height="match_parent" />
     62 
     63         <include layout="@layout/conversation_pager"
     64             android:id="@+id/conversation_pane"
     65             android:layout_width="0dp"
     66             android:layout_height="match_parent" />
     67 
     68         <FrameLayout
     69             android:id="@+id/miscellaneous_pane"
     70             android:layout_width="0dp"
     71             android:layout_height="match_parent" />
     72 
     73         <com.android.mail.ui.ActionableToastBar
     74             android:id="@+id/toast_bar"
     75             style="@style/ToastBarStyle" />
     76 
     77     </com.android.mail.ui.TwoPaneLayout>
     78 
     79 </android.support.v4.widget.DrawerLayout>
     80