| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2011 Google Inc. |
| Licensed to The Android Open Source Project. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| android:orientation="vertical"> |
| |
| <ScrollView |
| android:id="@+id/compose_scrollview" |
| android:fillViewport="true" |
| android:layout_height="0dip" |
| android:layout_weight="1" |
| android:layout_width="match_parent"> |
| |
| <LinearLayout android:id="@+id/content" |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginTop="4dip" |
| android:paddingLeft="16dip" |
| android:paddingRight="16dip"> |
| |
| <include layout="@layout/compose_from"/> |
| |
| <LinearLayout android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:orientation="horizontal"> |
| |
| <include layout="@layout/compose_recipients" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_weight="1"/> |
| |
| </LinearLayout> |
| |
| <!-- Attachments --> |
| <com.android.mail.compose.AttachmentsView android:id="@+id/attachments" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:orientation="vertical" |
| android:paddingTop="2dip" |
| android:paddingRight="5dip" |
| android:paddingBottom="0dip" |
| android:paddingLeft="5dip" /> |
| |
| <!-- Body --> |
| <include layout="@layout/compose_body"/> |
| |
| <!-- Quoted text --> |
| <com.android.mail.compose.QuotedTextView android:id="@+id/quoted_text_view" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:visibility="gone" /> |
| |
| <View android:id="@+id/composearea_tap_trap_bottom" |
| android:clickable="true" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="@color/compose_background_color"/> |
| |
| </LinearLayout> |
| |
| </ScrollView> |
| |
| </LinearLayout> |