edit_event.xml revision 7ef2981ab9ad32a6818b36cefbd39f070ba708ed
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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    android:gravity="center_horizontal"
23    android:layout_marginTop="0dip"
24    style="@style/EditEvent_Layout">
25    <TextView
26        android:id="@+id/loading_message"
27        android:layout_width="@dimen/edit_event_view_width"
28        android:layout_height="match_parent"
29        android:layout_gravity="center"
30        android:gravity="center"
31        android:text="@string/loading"
32        style="?android:attr/textAppearanceLarge"
33        android:background="#FFFFFFFF"/>
34
35    <ScrollView
36        android:id="@+id/scroll_view"
37        android:layout_width="@dimen/edit_event_view_width"
38        android:layout_height="match_parent"
39        android:animateLayoutChanges="true"
40        android:fillViewport="true"
41        android:visibility="gone">
42
43        <FrameLayout
44            android:layout_width="match_parent"
45            android:layout_height="match_parent">
46
47            <View android:id="@+id/event_bg"
48                android:layout_width="match_parent"
49                android:layout_height="match_parent"
50                android:layout_gravity="center_horizontal|top"
51                android:background="#FFFFFFFF"/>
52
53            <LinearLayout
54                android:id="@+id/two_pane"
55                android:orientation="vertical"
56                android:layout_width="match_parent"
57                android:layout_height="wrap_content"
58                android:paddingTop="28dip"
59                android:paddingLeft="@dimen/edit_event_view_padding_left"
60                android:paddingRight="@dimen/edit_event_view_padding_right"
61                android:layout_gravity="center_horizontal|top">
62
63                <include
64                    layout="@layout/edit_event_1"
65                    android:layout_width="match_parent"
66                    android:layout_height="wrap_content" />
67
68            </LinearLayout>
69
70            <View android:id="@+id/color_chip"
71                android:layout_width="50dip"
72                android:layout_height="50dip"
73                android:layout_gravity="left|top"/>
74        </FrameLayout>
75    </ScrollView>
76</LinearLayout>
77