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 android:paddingLeft="0dip"> 24 <TextView 25 android:id="@+id/loading_message" 26 android:layout_width="match_parent" 27 android:layout_height="match_parent" 28 android:layout_weight="1" 29 android:layout_gravity="center" 30 android:gravity="center" 31 android:text="@string/loading" 32 style="?android:attr/textAppearanceLarge" 33 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" 44 android:animateLayoutChanges="true" 45 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" 65 android:paddingTop="0dip" 66 android:paddingBottom="32dip" 67 android:layout_width="match_parent" 68 android:layout_height="wrap_content" 69 android:layout_marginLeft="20dip" 70 android:layout_marginRight="20dip" 71 android:layout_marginTop="0dip" 72 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" 90 android:layout_width="45dip" 91 android:layout_height="45dip" 92 android:layout_marginLeft="12dip" 93 android:layout_marginTop="5dip" 94 android:layout_gravity="left|top" /> 95 </FrameLayout> 96 </ScrollView> 97</LinearLayout> 98