blob: 6689ee0cb02c6e0a53c9fc7aaf28120f870b8a8f [file] [log] [blame]
Mindy Pereira3263fa92012-01-04 10:15:32 -08001<?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-->
mindyp3bcf1802012-09-09 11:17:00 -070018<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
Mindy Pereira3263fa92012-01-04 10:15:32 -080019 android:layout_width="match_parent"
Andy Huang5ff63742012-03-16 20:30:23 -070020 android:layout_height="match_parent">
Jin Caoa7404582014-08-05 14:03:59 -070021
mindyp3bcf1802012-09-09 11:17:00 -070022 <com.android.mail.browse.ConversationContainer
23 android:id="@+id/conversation_container"
Andy Huang5ff63742012-03-16 20:30:23 -070024 android:layout_width="match_parent"
mindyp3bcf1802012-09-09 11:17:00 -070025 android:layout_height="match_parent">
Andy Huang5ff63742012-03-16 20:30:23 -070026
mindyp3bcf1802012-09-09 11:17:00 -070027 <!-- base WebView layer -->
28 <com.android.mail.browse.ConversationWebView
Andrew Sappersteine2a30e12014-07-02 22:36:56 -070029 android:id="@+id/conversation_webview"
mindyp3bcf1802012-09-09 11:17:00 -070030 android:layout_width="match_parent"
Mark Wei56d83852012-09-19 14:28:50 -070031 android:layout_height="match_parent"
Jin Caoa7404582014-08-05 14:03:59 -070032 android:focusable="false"
33 android:focusableInTouchMode="false"
34 android:scrollbars="none"
35 style="@style/ConversationViewPaddingStyle" />
Andy Huang5ff63742012-03-16 20:30:23 -070036
mindyp3bcf1802012-09-09 11:17:00 -070037 <!-- scrolling overlay views go here -->
38
39 <!-- topmost layer for floating views (e.g. snap header, New Message bar) -->
40 <!-- ConversationContainer draws this child on the very top, above all scrolling views -->
Jin Caoa7404582014-08-05 14:03:59 -070041 <!-- This is also used to highlight the entire conversation on focus -->
mindyp3bcf1802012-09-09 11:17:00 -070042 <FrameLayout
43 android:id="@+id/conversation_topmost_overlay"
44 android:layout_width="match_parent"
Jin Caoa7404582014-08-05 14:03:59 -070045 android:layout_height="match_parent"
46 android:background="?android:attr/selectableItemBackground"
47 android:focusable="true" />
mindyp3bcf1802012-09-09 11:17:00 -070048
49 </com.android.mail.browse.ConversationContainer>
Mark Wei56d83852012-09-19 14:28:50 -070050
51 <com.android.mail.browse.ScrollIndicatorsView
52 android:id="@+id/scroll_indicators"
53 android:layout_width="match_parent"
54 android:layout_height="match_parent"
55 android:scrollbarStyle="outsideOverlay"
56 android:scrollbars="vertical|horizontal" />
57
mindypff282d02012-09-17 10:33:02 -070058 <include layout="@layout/conversation_load_spinner"/>
Mark Wei56d83852012-09-19 14:28:50 -070059
mindyp3bcf1802012-09-09 11:17:00 -070060</FrameLayout>