• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    android:background="#FFE9E9E9"
25    style="@style/EditEvent_Layout">
26    <TextView
27        android:id="@+id/loading_message"
28        android:layout_width="@dimen/edit_event_view_width"
29        android:layout_height="match_parent"
30        android:layout_gravity="center"
31        android:gravity="center"
32        android:text="@string/loading"
33        style="?android:attr/textAppearanceLarge"
34        android:background="#FFFFFFFF"/>
35
36    <ScrollView
37        android:id="@+id/scroll_view"
38        android:layout_width="@dimen/edit_event_view_width"
39        android:layout_height="match_parent"
40        android:animateLayoutChanges="false"
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_gravity="center_horizontal|top"
52                android:background="#FFFFFFFF"/>
53
54            <LinearLayout
55                android:id="@+id/two_pane"
56                android:orientation="vertical"
57                android:layout_width="match_parent"
58                android:layout_height="wrap_content"
59                android:paddingTop="28dip"
60                android:paddingLeft="@dimen/edit_event_view_padding_left"
61                android:paddingRight="@dimen/edit_event_view_padding_right"
62                android:layout_gravity="center_horizontal|top">
63
64                <include
65                    layout="@layout/edit_event_1"
66                    android:layout_width="match_parent"
67                    android:layout_height="wrap_content" />
68
69            </LinearLayout>
70
71            <View android:id="@+id/color_chip"
72                android:layout_width="50dip"
73                android:layout_height="50dip"
74                android:layout_gravity="left|top"/>
75        </FrameLayout>
76    </ScrollView>
77</LinearLayout>
78