• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- small -->
18
19<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_height="match_parent" android:layout_width="match_parent"
21    android:orientation="vertical">
22    <ScrollView android:layout_width="match_parent"
23        android:layout_height="0dip" android:layout_weight="1"
24        android:fillViewport="true"
25        android:paddingLeft="16dip"
26        android:paddingRight="16dip">
27        <LinearLayout android:orientation="vertical"
28            android:layout_width="match_parent" android:layout_height="wrap_content">
29            <LinearLayout android:orientation="vertical"
30                android:layout_width="match_parent"
31                android:layout_height="wrap_content">
32
33                <!-- Not actually editable -->
34                <include layout="@layout/compose_from"/>
35
36                <include layout="@layout/recipients_area"/>
37
38                <include layout="@layout/compose_subject"/>
39
40                <!--
41                    Empty container for storing attachments. We'll stick
42                    instances of message_compose_attachment.xml in here.
43                -->
44                <LinearLayout android:id="@+id/attachments"
45                    android:layout_width="match_parent"
46                    android:layout_height="wrap_content"
47                    android:orientation="vertical" />
48                <!-- Dummy view to keep it compatible with the xlarge counterpart -->
49                <View
50                    android:id="@+id/attachment_container"
51                    android:layout_width="0dip"
52                    android:layout_height="0dip"
53                    android:visibility="gone"
54                    />
55            </LinearLayout>
56            <include layout="@layout/message_compose_body"/>
57            <!--  quoted text bar -->
58            <RelativeLayout
59                android:id="@+id/quoted_text_bar"
60                android:layout_width="match_parent"
61                android:layout_height="45dip"
62                >
63                <TextView
64                    android:layout_width="wrap_content"
65                    android:layout_height="wrap_content"
66                    android:textAppearance="?android:attr/textAppearanceMedium"
67                    android:textColor="?android:attr/textColorSecondaryInverse"
68                    android:text="@string/message_compose_quoted_text_label"
69                    android:layout_alignParentLeft="true"
70                    android:layout_centerVertical="true"
71                    />
72                <CheckBox
73                    android:id="@+id/include_quoted_text"
74                    android:layout_width="wrap_content"
75                    android:layout_height="wrap_content"
76                    android:layout_centerVertical="true"
77                    android:layout_alignParentRight="true"
78                    />
79                <TextView
80                    android:layout_width="wrap_content"
81                    android:layout_height="wrap_content"
82                    android:layout_toLeftOf="@id/include_quoted_text"
83                    android:layout_centerVertical="true"
84                    android:textAppearance="?android:attr/textAppearanceMedium"
85                    android:textColor="?android:attr/textColorSecondaryInverse"
86                    android:text="@string/message_compose_include_quoted_text_checkbox_label"
87                    />
88            </RelativeLayout>
89            <WebView android:id="@+id/quoted_text"
90                android:layout_height="wrap_content"
91                android:layout_width="match_parent"
92                />
93        </LinearLayout>
94    </ScrollView>
95</LinearLayout>
96