Mindy Pereira | 3263fa9 | 2012-01-04 10:15:32 -0800 | [diff] [blame] | 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 | --> |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 18 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Mindy Pereira | 3263fa9 | 2012-01-04 10:15:32 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Andy Huang | 5ff6374 | 2012-03-16 20:30:23 -0700 | [diff] [blame] | 20 | android:layout_height="match_parent"> |
Jin Cao | a740458 | 2014-08-05 14:03:59 -0700 | [diff] [blame] | 21 | |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 22 | <com.android.mail.browse.ConversationContainer |
| 23 | android:id="@+id/conversation_container" |
Andy Huang | 5ff6374 | 2012-03-16 20:30:23 -0700 | [diff] [blame] | 24 | android:layout_width="match_parent" |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 25 | android:layout_height="match_parent"> |
Andy Huang | 5ff6374 | 2012-03-16 20:30:23 -0700 | [diff] [blame] | 26 | |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 27 | <!-- base WebView layer --> |
| 28 | <com.android.mail.browse.ConversationWebView |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 29 | android:id="@+id/conversation_webview" |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 30 | android:layout_width="match_parent" |
Mark Wei | 56d8385 | 2012-09-19 14:28:50 -0700 | [diff] [blame] | 31 | android:layout_height="match_parent" |
Jin Cao | a740458 | 2014-08-05 14:03:59 -0700 | [diff] [blame] | 32 | android:focusable="false" |
| 33 | android:focusableInTouchMode="false" |
| 34 | android:scrollbars="none" |
| 35 | style="@style/ConversationViewPaddingStyle" /> |
Andy Huang | 5ff6374 | 2012-03-16 20:30:23 -0700 | [diff] [blame] | 36 | |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 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 --> |
Jin Cao | a740458 | 2014-08-05 14:03:59 -0700 | [diff] [blame] | 41 | <!-- This is also used to highlight the entire conversation on focus --> |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 42 | <FrameLayout |
| 43 | android:id="@+id/conversation_topmost_overlay" |
| 44 | android:layout_width="match_parent" |
Jin Cao | a740458 | 2014-08-05 14:03:59 -0700 | [diff] [blame] | 45 | android:layout_height="match_parent" |
| 46 | android:background="?android:attr/selectableItemBackground" |
| 47 | android:focusable="true" /> |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 48 | |
| 49 | </com.android.mail.browse.ConversationContainer> |
Mark Wei | 56d8385 | 2012-09-19 14:28:50 -0700 | [diff] [blame] | 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 | |
mindyp | ff282d0 | 2012-09-17 10:33:02 -0700 | [diff] [blame] | 58 | <include layout="@layout/conversation_load_spinner"/> |
Mark Wei | 56d8385 | 2012-09-19 14:28:50 -0700 | [diff] [blame] | 59 | |
mindyp | 3bcf180 | 2012-09-09 11:17:00 -0700 | [diff] [blame] | 60 | </FrameLayout> |