blob: 7acc9d3a7dc856ee39838eacd1930fbd616c5402 [file] [log] [blame]
Erika7694ee2010-12-07 15:46:18 -08001<?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"
Michael Chanffbc7902010-12-07 15:08:40 -080022 style="@style/EditEvent_Layout"
23 android:paddingLeft="0dip">
Erika7694ee2010-12-07 15:46:18 -080024 <TextView
25 android:id="@+id/loading_message"
26 android:layout_width="match_parent"
Michael Chand135fc22011-01-07 11:41:52 -080027 android:layout_height="match_parent"
Erika7694ee2010-12-07 15:46:18 -080028 android:layout_weight="1"
Michael Chand135fc22011-01-07 11:41:52 -080029 android:layout_gravity="center"
Erika7694ee2010-12-07 15:46:18 -080030 android:gravity="center"
Michael Chand135fc22011-01-07 11:41:52 -080031 android:text="@string/loading"
32 style="?android:attr/textAppearanceLarge"
Erika7694ee2010-12-07 15:46:18 -080033 android:layout_marginLeft="20dip"
34 android:layout_marginRight="20dip"
35 android:layout_marginTop="12dip"
36 android:layout_marginBottom="12dip"
37 android:background="#FFFFFFFF"/>
38
39 <ScrollView
40 android:id="@+id/scroll_view"
41 android:layout_width="match_parent"
42 android:layout_height="match_parent"
43 android:layout_weight="2"
Michael Chan89f22822011-01-05 17:50:39 -080044 android:animateLayoutChanges="true"
Erika7694ee2010-12-07 15:46:18 -080045 android:fillViewport="true"
46 android:visibility="gone">
47
48 <FrameLayout
49 android:layout_width="match_parent"
50 android:layout_height="match_parent">
51
52 <View android:id="@+id/event_bg"
53 android:layout_width="match_parent"
54 android:layout_height="match_parent"
55 android:layout_marginLeft="0dip"
56 android:layout_marginRight="0dip"
57 android:layout_marginTop="12dip"
58 android:layout_marginBottom="12dip"
59 android:layout_gravity="center_horizontal|top"
60 android:background="#FFFFFFFF"/>
61
62 <LinearLayout
63 android:id="@+id/two_pane"
64 android:orientation="vertical"
Erik3d301902011-05-25 15:35:39 -070065 android:paddingTop="0dip"
Michael Chand135fc22011-01-07 11:41:52 -080066 android:paddingBottom="32dip"
Erika7694ee2010-12-07 15:46:18 -080067 android:layout_width="match_parent"
68 android:layout_height="wrap_content"
69 android:layout_marginLeft="20dip"
70 android:layout_marginRight="20dip"
Erik3d301902011-05-25 15:35:39 -070071 android:layout_marginTop="0dip"
Erika7694ee2010-12-07 15:46:18 -080072 android:layout_marginBottom="12dip"
73 android:layout_gravity="center_horizontal|top">
74
75 <!-- TOP HALF -->
76 <include
77 layout="@layout/edit_event_1"
78 android:layout_width="match_parent"
79 android:layout_height="wrap_content" />
80
81 <!-- BOTTOM HALF GUESTS/ATTENDEES -->
82 <include
83 layout="@layout/edit_event_2"
84 android:id="@+id/attendees_group"
85 android:layout_width="match_parent"
86 android:layout_height="wrap_content" />
87 </LinearLayout>
88
89 <View android:id="@+id/color_chip"
Erik3d301902011-05-25 15:35:39 -070090 android:layout_width="45dip"
91 android:layout_height="45dip"
92 android:layout_marginLeft="12dip"
93 android:layout_marginTop="5dip"
Erika7694ee2010-12-07 15:46:18 -080094 android:layout_gravity="left|top" />
95 </FrameLayout>
96 </ScrollView>
97</LinearLayout>