• 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<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:orientation="vertical"
20    android:layout_width="fill_parent"
21    android:layout_height="fill_parent"
22    android:background="@android:color/white">
23    <ScrollView
24        android:id="@+id/scrollview"
25        android:layout_width="fill_parent"
26        android:layout_height="0dip"
27        android:layout_weight="1"
28        android:scrollbarStyle="outsideInset"
29        android:fadingEdge="none">
30        <LinearLayout
31            android:orientation="vertical"
32            android:layout_width="fill_parent"
33            android:layout_height="0dip"
34            android:layout_weight="1">
35            <!-- put invisible views for prev/next in order to not special-case the lanscape in code -->
36            <FrameLayout
37                 android:visibility="gone"
38                 android:layout_width="0dip"
39                 android:layout_height="0dip">
40                <View
41                     android:id="@+id/previous"
42                     android:layout_width="0dip"
43                     android:layout_height="0dip" />
44                <View android:id="@+id/next"
45                      android:layout_width="0dip"
46                      android:layout_height="0dip" />
47            </FrameLayout>
48            <include layout="@layout/message_view_header" />
49
50        </LinearLayout>
51    </ScrollView>
52    <LinearLayout
53        android:orientation="horizontal"
54        android:layout_width="fill_parent"
55        android:layout_height="wrap_content"
56        android:paddingTop="5dip"
57        android:paddingLeft="4dip"
58        android:paddingRight="4dip"
59        android:paddingBottom="1dip"
60        android:background="@android:drawable/bottom_bar">
61        <Button
62            android:id="@+id/reply"
63            android:text="@string/reply_action"
64            android:layout_height="fill_parent"
65            android:layout_width="0dip"
66            android:layout_weight="1" />
67        <Button
68            android:id="@+id/reply_all"
69            android:text="@string/reply_all_action"
70            android:layout_height="fill_parent"
71            android:layout_width="0dip"
72            android:layout_weight="1" />
73        <Button
74            android:id="@+id/delete"
75            android:text="@string/delete_action"
76            android:layout_height="fill_parent"
77            android:layout_width="0dip"
78            android:layout_weight="1" />
79    </LinearLayout>
80</LinearLayout>
81