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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent"> 21 22 <com.android.mail.browse.ConversationContainer 23 android:id="@+id/conversation_container" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent"> 26 27 <!-- base WebView layer --> 28 <com.android.mail.browse.ConversationWebView 29 android:id="@+id/conversation_webview" 30 android:layout_width="match_parent" 31 android:layout_height="match_parent" 32 android:focusable="false" 33 android:focusableInTouchMode="false" 34 android:scrollbars="none" 35 style="@style/ConversationViewPaddingStyle" /> 36 37 <!-- 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 --> 41 <!-- This is also used to highlight the entire conversation on focus --> 42 <FrameLayout 43 android:id="@+id/conversation_topmost_overlay" 44 android:layout_width="match_parent" 45 android:layout_height="match_parent" 46 android:background="?android:attr/selectableItemBackground" 47 android:focusable="true" /> 48 49 </com.android.mail.browse.ConversationContainer> 50 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 58 <include layout="@layout/conversation_load_spinner"/> 59 60</FrameLayout> 61