| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2011 Google Inc. |
| Licensed to The Android Open Source Project. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical"> |
| |
| <!-- Custom toolbar/search overlay --> |
| <include layout="@layout/toolbar_with_search" /> |
| |
| <!-- Main content --> |
| <FrameLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:foreground="?android:attr/windowContentOverlay"> |
| |
| <com.android.mail.ui.TwoPaneLayout |
| android:id="@+id/two_pane_activity" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:foregroundGravity="fill_horizontal|top" |
| android:background="@android:color/white"> |
| |
| <FrameLayout |
| android:id="@+id/drawer" |
| android:layout_width="@dimen/two_pane_drawer_width_open" |
| android:layout_height="match_parent" |
| android:layout_gravity="left"> |
| |
| <include layout="@layout/drawer_fragment" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" /> |
| |
| </FrameLayout> |
| |
| <FrameLayout |
| android:id="@+id/conversation_list_pane" |
| android:layout_width="0dp" |
| android:layout_height="match_parent" |
| android:layout_gravity="left" > |
| |
| <FrameLayout |
| android:id="@+id/conversation_list_place_holder" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" /> |
| |
| <ImageButton |
| android:id="@+id/compose_button" |
| style="@style/FloatingActionButtonStyle" /> |
| |
| </FrameLayout> |
| |
| <com.android.mail.ui.ConversationViewFrame |
| android:id="@+id/conversation_frame" |
| android:layout_width="0dp" |
| android:layout_height="match_parent" |
| android:layout_gravity="left" |
| android:foreground="@drawable/ic_vertical_shadow_end_2dp"> |
| |
| <FrameLayout |
| android:id="@+id/conversation_pane" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <!-- Empty icon view for CV landscape --> |
| <ImageView |
| android:id="@+id/conversation_pane_no_message_view" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:visibility="gone" /> |
| |
| <include layout="@layout/conversation_pager" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" /> |
| |
| </FrameLayout> |
| |
| <FrameLayout |
| android:id="@+id/miscellaneous_pane" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" /> |
| |
| </com.android.mail.ui.ConversationViewFrame> |
| |
| <include layout="@layout/floating_actions" /> |
| |
| </com.android.mail.ui.TwoPaneLayout> |
| |
| <include layout="@layout/search_suggestion_list" /> |
| |
| </FrameLayout> |
| |
| </LinearLayout> |