2010-11-15 20:12:09 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2010 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.
|
|
|
|
-->
|
2011-11-03 18:20:47 +00:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2010-11-15 20:12:09 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
2011-11-03 18:20:47 +00:00
|
|
|
android:fillViewport="true">
|
2010-11-15 20:12:09 +00:00
|
|
|
|
2011-11-03 18:20:47 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/compose_scrollview"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="@dimen/compose_scrollview_width"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingTop="8dip"
|
|
|
|
android:background="@android:color/white"
|
|
|
|
android:layout_gravity="center_horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
2011-01-05 21:21:18 +00:00
|
|
|
android:layout_width="match_parent"
|
2011-11-03 18:20:47 +00:00
|
|
|
android:layout_height="match_parent"
|
2011-01-05 21:21:18 +00:00
|
|
|
android:orientation="vertical"
|
2011-11-03 18:20:47 +00:00
|
|
|
android:paddingLeft="100dip">
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/content"
|
|
|
|
android:orientation="horizontal"
|
2011-01-05 21:21:18 +00:00
|
|
|
android:layout_width="match_parent"
|
2011-11-03 18:20:47 +00:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<!-- For the to, cc, bcc, and subject -->
|
|
|
|
<LinearLayout android:id="@+id/wrapper"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<include layout="@layout/compose_from"/>
|
|
|
|
|
|
|
|
<include layout="@layout/compose_area_recipients"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<include layout="@layout/compose_area_buttons"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- Attachments -->
|
|
|
|
<LinearLayout android:id="@+id/attachment_container"
|
2011-01-05 21:21:18 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2011-11-03 18:20:47 +00:00
|
|
|
android:layout_marginTop="8dip"
|
2011-01-05 21:21:18 +00:00
|
|
|
android:orientation="vertical"
|
2011-11-03 18:20:47 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_marginRight="100dip"
|
|
|
|
>
|
|
|
|
<!--
|
|
|
|
Empty container for storing attachments. We'll stick
|
|
|
|
instances of message_compose_attachment.xml in here.
|
|
|
|
-->
|
|
|
|
<LinearLayout android:id="@+id/attachments"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2010-11-15 20:12:09 +00:00
|
|
|
|
2011-11-03 18:20:47 +00:00
|
|
|
<!-- Compose Area -->
|
|
|
|
<FrameLayout android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="100dip">
|
2011-11-03 16:44:58 +00:00
|
|
|
|
2011-11-03 18:20:47 +00:00
|
|
|
<include layout="@layout/compose_body"/>
|
2011-11-03 16:44:58 +00:00
|
|
|
|
2011-11-03 18:20:47 +00:00
|
|
|
</FrameLayout>
|
2010-11-15 20:12:09 +00:00
|
|
|
|
2011-11-03 23:21:39 +00:00
|
|
|
<RelativeLayout android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="100dip">
|
2011-11-04 00:26:41 +00:00
|
|
|
<include layout="@layout/quoted_text"/>
|
2011-11-03 23:21:39 +00:00
|
|
|
</RelativeLayout>
|
2011-11-03 18:20:47 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/composearea_tap_trap_bottom"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="0dip"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:clickable="true"/>
|
|
|
|
|
2010-11-23 01:32:43 +00:00
|
|
|
</LinearLayout>
|
2011-11-03 18:20:47 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|