edit_event_single_column.xml revision a7694eead7cbb293990bc89c3906e17bad36194c
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 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:id="@+id/edit_event"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    style="@style/EditEvent_Layout">
23    <TextView
24        android:id="@+id/loading_message"
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:layout_weight="1"
28        android:gravity="center"
29        android:text="@string/loading" 
30        android:layout_marginLeft="20dip"
31        android:layout_marginRight="20dip"
32        android:layout_marginTop="12dip"
33        android:layout_marginBottom="12dip"
34        android:background="#FFFFFFFF"/>
35
36    <ScrollView
37        android:id="@+id/scroll_view"
38        android:layout_width="match_parent"
39        android:layout_height="match_parent"
40        android:layout_weight="2"
41        android:fillViewport="true"
42        android:visibility="gone">
43
44        <FrameLayout
45            android:layout_width="match_parent"
46            android:layout_height="match_parent">
47
48            <View android:id="@+id/event_bg"
49                android:layout_width="match_parent"
50                android:layout_height="match_parent"
51                android:layout_marginLeft="0dip"
52                android:layout_marginRight="0dip"
53                android:layout_marginTop="12dip"
54                android:layout_marginBottom="12dip"
55                android:layout_gravity="center_horizontal|top"
56                android:background="#FFFFFFFF"/>
57
58            <LinearLayout
59                android:id="@+id/two_pane"
60                android:orientation="vertical"
61                android:layout_width="match_parent"
62                android:layout_height="wrap_content"
63                android:layout_marginLeft="20dip"
64                android:layout_marginRight="20dip"
65                android:layout_marginTop="12dip"
66                android:layout_marginBottom="12dip"
67                android:layout_gravity="center_horizontal|top">
68
69                <!-- TOP HALF -->
70                <include
71                    layout="@layout/edit_event_1"
72                    android:layout_width="match_parent"
73                    android:layout_height="wrap_content" />
74
75                <!-- BOTTOM HALF GUESTS/ATTENDEES -->
76                <include
77                    layout="@layout/edit_event_2"
78                    android:id="@+id/attendees_group"
79                    android:layout_width="match_parent"
80                    android:layout_height="wrap_content" />
81            </LinearLayout>
82
83            <View android:id="@+id/color_chip"
84                android:layout_width="30dip"
85                android:layout_height="30dip"
86                android:layout_marginLeft="5dip"
87                android:layout_marginTop="17dip"
88                android:layout_gravity="left|top" />
89        </FrameLayout>
90    </ScrollView>
91</LinearLayout>
92