blob: 827c044cd670f48b702a3d2a9682a09e34e3b88e [file] [log] [blame]
mindypf4fce122012-09-14 15:55:33 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2012 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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070020 android:layout_height="match_parent"
Andrew Sappersteineb58a092014-06-24 14:03:49 -070021 android:background="@color/conversation_view_background_color" >
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070022
Andy Huangbe7739b2013-03-18 13:40:51 -070023 <com.android.mail.browse.MessageScrollView android:id="@+id/scroll_view"
mindypf4fce122012-09-14 15:55:33 -070024 android:layout_width="match_parent"
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070025 android:layout_height="match_parent" >
26
mindyp26d4d2d2012-09-18 17:30:32 -070027 <LinearLayout
28 android:id="@+id/conversation_container"
mindypf4fce122012-09-14 15:55:33 -070029 android:layout_width="match_parent"
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070030 android:layout_height="wrap_content"
mindyp26d4d2d2012-09-18 17:30:32 -070031 android:orientation="vertical">
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070032
Andy Huang2e57e542013-03-15 16:44:56 -070033 <include layout="@layout/conversation_view_header"
34 android:id="@+id/conv_header"
35 android:layout_width="match_parent"
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070036 android:layout_height="wrap_content" />
Andy Huang2e57e542013-03-15 16:44:56 -070037
Andrew Sapperstein59ccec32014-06-18 17:22:49 -070038 <include layout="@layout/conversation_message_header"
39 android:id="@+id/message_header"
mindyp26d4d2d2012-09-18 17:30:32 -070040 android:layout_width="match_parent"
Andrew Sapperstein59ccec32014-06-18 17:22:49 -070041 android:layout_height="wrap_content" />
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070042
mindyp26d4d2d2012-09-18 17:30:32 -070043 <!-- base WebView layer -->
Andrew Sapperstein59ccec32014-06-18 17:22:49 -070044 <com.android.mail.browse.MessageWebView
45 android:id="@+id/webview"
mindyp26d4d2d2012-09-18 17:30:32 -070046 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
Andrew Sapperstein59ccec32014-06-18 17:22:49 -070048 android:scrollbars="none"/>
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070049
Andrew Sapperstein59ccec32014-06-18 17:22:49 -070050 <include
51 layout="@layout/conversation_message_footer"
52 android:id="@+id/message_footer"
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070053 android:layout_width="match_parent"
54 android:layout_height="wrap_content"
Andrew Sapperstein59ccec32014-06-18 17:22:49 -070055 android:visibility="gone" />
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070056
mindyp26d4d2d2012-09-18 17:30:32 -070057 </LinearLayout>
Andrew Sappersteine7e2c0a2013-08-02 17:09:54 -070058
Andy Huangbe7739b2013-03-18 13:40:51 -070059 </com.android.mail.browse.MessageScrollView>
mindyp32d911f2012-09-24 15:14:22 -070060
Martin Hibdon50554de2014-01-07 16:28:04 -080061 <include layout="@layout/conversation_message_header"
62 android:id="@+id/snap_header"
63 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
Andrew Sapperstein59ccec32014-06-18 17:22:49 -070065 style="@style/ConversationViewPaddingStyle"
Martin Hibdon50554de2014-01-07 16:28:04 -080066 android:layout_gravity="top"
67 android:visibility="gone"/>
68
mindypff282d02012-09-17 10:33:02 -070069 <include layout="@layout/conversation_load_spinner"/>
mindypf4fce122012-09-14 15:55:33 -070070
71</FrameLayout>