blob: 13589c0924c27b92c0a4666916ee63998d4391f5 [file] [log] [blame]
Mindy Pereira02e4e6e2011-12-13 13:32:31 -08001<?xml version="1.0" encoding="utf-8"?>
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -08002<!--
3 Copyright (C) 2011 Google Inc.
4 Licensed to The Android Open Source Project.
Mindy Pereira02e4e6e2011-12-13 13:32:31 -08005
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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19 android:id="@+id/compose_parent_layout"
20 android:layout_height="match_parent"
21 android:layout_width="match_parent"
22 android:fillViewport="true">
23
24 <LinearLayout
25 android:id="@+id/compose_scrollview"
26 android:orientation="vertical"
27 android:layout_width="@dimen/compose_scrollview_width"
28 android:layout_height="match_parent"
29 android:paddingTop="8dip"
30 android:background="@android:color/white"
31 android:layout_gravity="center_horizontal">
32
33 <LinearLayout
34 android:layout_width="match_parent"
35 android:layout_height="match_parent"
36 android:orientation="vertical"
37 android:paddingLeft="100dip">
38
39 <LinearLayout android:id="@+id/content"
40 android:orientation="horizontal"
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content">
43
44 <!-- For the to, cc, bcc, and subject -->
45 <LinearLayout android:id="@+id/wrapper"
46 android:orientation="vertical"
47 android:layout_width="wrap_content"
48 android:layout_weight="1"
49 android:layout_height="wrap_content">
50
51 <include layout="@layout/compose_from"/>
52
53 <include layout="@layout/compose_recipients"/>
54
55 </LinearLayout>
56
57 <include layout="@layout/compose_buttons"/>
58
59 </LinearLayout>
60
61 <!-- Attachments -->
62 <!--<com.google.android.gm.AttachmentsView android:id="@+id/attachments"
63 android:layout_height="wrap_content"
64 android:layout_width="match_parent"
65 android:orientation="vertical"
66 android:layout_marginTop="8dip"
67 android:paddingTop="2dip"
68 android:layout_marginRight="100dip"
69 android:paddingBottom="0dip"
70 android:paddingLeft="0dip"
71 android:visibility="gone" />-->
72
73 <!-- Compose Area -->
74 <FrameLayout android:layout_width="match_parent"
75 android:layout_height="wrap_content"
76 android:layout_marginRight="100dip">
77
78 <include layout="@layout/compose_body"/>
79
80 </FrameLayout>
81
82 <!-- Quoted text -->
83 <!--<com.google.android.gm.QuotedTextView android:id="@+id/quoted_text_view"
84 android:layout_height="wrap_content"
85 android:layout_width="match_parent"
86 android:layout_marginRight="100dip"/>-->
87
88 <FrameLayout
89 android:id="@+id/composearea_tap_trap_bottom"
90 android:layout_weight="1"
91 android:layout_height="0dip"
92 android:layout_width="match_parent"
93 android:clickable="true"/>
94
95 </LinearLayout>
96
97 </LinearLayout>
98
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080099</ScrollView>