• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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<!-- ThreePaneLayout is based on LinearLayout with the orientation always horizontal -->
18
19<!-- Implementation of a three pane layout where two panes are always visible at
20     any given time. -->
21<!-- Note the width of each pane is set by code at runtime.  -->
22<com.android.email.activity.ThreePaneLayout
23    xmlns:android="http://schemas.android.com/apk/res/android"
24    android:splitMotionEvents="true"
25    >
26
27    <FrameLayout
28        android:id="@+id/left_pane"
29        android:layout_width="0dip"
30        android:layout_height="match_parent"
31        />
32    <LinearLayout
33        android:layout_width="wrap_content"
34        android:layout_height="match_parent"
35        android:orientation="vertical"
36        >
37        <FrameLayout
38            android:id="@+id/middle_pane"
39            android:layout_width="0dip"
40            android:layout_height="0dip"
41            android:layout_weight="1"
42            />
43        <include
44            layout="@layout/message_command_button_view"
45            android:id="@+id/message_command_buttons"
46            />
47    </LinearLayout>
48    <LinearLayout
49        android:layout_width="wrap_content"
50        android:layout_height="match_parent"
51        android:orientation="vertical">
52        <FrameLayout
53            android:id="@+id/right_pane"
54            android:layout_width="0dip"
55            android:layout_height="0dip"
56            android:layout_weight="1"
57            />
58        <include
59            layout="@layout/message_command_button_view"
60            android:id="@+id/inmessage_command_buttons"
61            />
62    </LinearLayout>
63</com.android.email.activity.ThreePaneLayout>
64