mindyp | f4fce12 | 2012-09-14 15:55:33 -0700 | [diff] [blame] | 1 | <?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 Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 20 | android:layout_height="match_parent" |
Andrew Sapperstein | eb58a09 | 2014-06-24 14:03:49 -0700 | [diff] [blame] | 21 | android:background="@color/conversation_view_background_color" > |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 22 | |
Andy Huang | be7739b | 2013-03-18 13:40:51 -0700 | [diff] [blame] | 23 | <com.android.mail.browse.MessageScrollView android:id="@+id/scroll_view" |
mindyp | f4fce12 | 2012-09-14 15:55:33 -0700 | [diff] [blame] | 24 | android:layout_width="match_parent" |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 25 | android:layout_height="match_parent" > |
| 26 | |
mindyp | 26d4d2d | 2012-09-18 17:30:32 -0700 | [diff] [blame] | 27 | <LinearLayout |
| 28 | android:id="@+id/conversation_container" |
mindyp | f4fce12 | 2012-09-14 15:55:33 -0700 | [diff] [blame] | 29 | android:layout_width="match_parent" |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 30 | android:layout_height="wrap_content" |
mindyp | 26d4d2d | 2012-09-18 17:30:32 -0700 | [diff] [blame] | 31 | android:orientation="vertical"> |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 32 | |
Andy Huang | 2e57e54 | 2013-03-15 16:44:56 -0700 | [diff] [blame] | 33 | <include layout="@layout/conversation_view_header" |
| 34 | android:id="@+id/conv_header" |
| 35 | android:layout_width="match_parent" |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 36 | android:layout_height="wrap_content" /> |
Andy Huang | 2e57e54 | 2013-03-15 16:44:56 -0700 | [diff] [blame] | 37 | |
Andrew Sapperstein | 59ccec3 | 2014-06-18 17:22:49 -0700 | [diff] [blame] | 38 | <include layout="@layout/conversation_message_header" |
| 39 | android:id="@+id/message_header" |
mindyp | 26d4d2d | 2012-09-18 17:30:32 -0700 | [diff] [blame] | 40 | android:layout_width="match_parent" |
Andrew Sapperstein | 59ccec3 | 2014-06-18 17:22:49 -0700 | [diff] [blame] | 41 | android:layout_height="wrap_content" /> |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 42 | |
mindyp | 26d4d2d | 2012-09-18 17:30:32 -0700 | [diff] [blame] | 43 | <!-- base WebView layer --> |
Andrew Sapperstein | 59ccec3 | 2014-06-18 17:22:49 -0700 | [diff] [blame] | 44 | <com.android.mail.browse.MessageWebView |
| 45 | android:id="@+id/webview" |
mindyp | 26d4d2d | 2012-09-18 17:30:32 -0700 | [diff] [blame] | 46 | android:layout_width="match_parent" |
| 47 | android:layout_height="wrap_content" |
Andrew Sapperstein | 59ccec3 | 2014-06-18 17:22:49 -0700 | [diff] [blame] | 48 | android:scrollbars="none"/> |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 49 | |
Andrew Sapperstein | 59ccec3 | 2014-06-18 17:22:49 -0700 | [diff] [blame] | 50 | <include |
| 51 | layout="@layout/conversation_message_footer" |
| 52 | android:id="@+id/message_footer" |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="wrap_content" |
Andrew Sapperstein | 59ccec3 | 2014-06-18 17:22:49 -0700 | [diff] [blame] | 55 | android:visibility="gone" /> |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 56 | |
mindyp | 26d4d2d | 2012-09-18 17:30:32 -0700 | [diff] [blame] | 57 | </LinearLayout> |
Andrew Sapperstein | e7e2c0a | 2013-08-02 17:09:54 -0700 | [diff] [blame] | 58 | |
Andy Huang | be7739b | 2013-03-18 13:40:51 -0700 | [diff] [blame] | 59 | </com.android.mail.browse.MessageScrollView> |
mindyp | 32d911f | 2012-09-24 15:14:22 -0700 | [diff] [blame] | 60 | |
Martin Hibdon | 50554de | 2014-01-07 16:28:04 -0800 | [diff] [blame] | 61 | <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 Sapperstein | 59ccec3 | 2014-06-18 17:22:49 -0700 | [diff] [blame] | 65 | style="@style/ConversationViewPaddingStyle" |
Martin Hibdon | 50554de | 2014-01-07 16:28:04 -0800 | [diff] [blame] | 66 | android:layout_gravity="top" |
| 67 | android:visibility="gone"/> |
| 68 | |
mindyp | ff282d0 | 2012-09-17 10:33:02 -0700 | [diff] [blame] | 69 | <include layout="@layout/conversation_load_spinner"/> |
mindyp | f4fce12 | 2012-09-14 15:55:33 -0700 | [diff] [blame] | 70 | |
| 71 | </FrameLayout> |