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_height="match_parent" 20 android:layout_width="match_parent"> 21 <include layout="@layout/wait_fragment"/> 22 <LinearLayout 23 android:layout_height="match_parent" 24 android:layout_width="match_parent" 25 android:orientation="vertical" 26 android:background="@android:color/white" 27 android:visibility="gone" 28 android:id="@+id/compose"> 29 30 <ScrollView 31 android:id="@+id/compose_scrollview" 32 android:fillViewport="true" 33 android:layout_height="0dip" 34 android:layout_weight="1" 35 android:layout_width="match_parent"> 36 37 <LinearLayout android:id="@+id/content" 38 android:orientation="vertical" 39 android:layout_width="match_parent" 40 android:layout_height="match_parent" 41 android:animateLayoutChanges="true" 42 android:paddingLeft="16dip" 43 android:paddingRight="16dip"> 44 45 <include layout="@layout/compose_from"/> 46 47 <LinearLayout android:layout_height="wrap_content" 48 android:layout_width="match_parent" 49 android:orientation="vertical"> 50 51 <include layout="@layout/compose_recipients"/> 52 53 <include layout="@layout/compose_subject"/> 54 </LinearLayout> 55 56 <!-- Body --> 57 <include layout="@layout/compose_body"/> 58 59 <!-- Attachments --> 60 <com.android.mail.compose.AttachmentsView android:id="@+id/attachments" 61 android:layout_height="wrap_content" 62 android:layout_width="match_parent" 63 android:orientation="vertical" 64 android:animateLayoutChanges="true" 65 android:paddingTop="8dip" 66 android:paddingRight="5dip" 67 android:paddingBottom="0dip" 68 android:paddingLeft="5dip" 69 android:visibility="gone" 70 android:focusable="true"> 71 <include layout="@layout/compose_attachments" /> 72 </com.android.mail.compose.AttachmentsView> 73 74 <!-- Quoted text --> 75 <com.android.mail.compose.QuotedTextView android:id="@+id/quoted_text_view" 76 android:layout_height="wrap_content" 77 android:layout_width="match_parent" 78 android:visibility="gone" /> 79 80 <View android:id="@+id/composearea_tap_trap_bottom" 81 android:clickable="true" 82 android:layout_width="match_parent" 83 android:layout_height="match_parent" 84 android:background="@color/compose_background_color"/> 85 86 </LinearLayout> 87 88 </ScrollView> 89 90 </LinearLayout> 91 </FrameLayout>