edit_event.xml revision d135fc233ba11b68bdbaad0f744cdc565013257f
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="match_parent" 27 android:layout_weight="1" 28 android:layout_gravity="center" 29 android:gravity="center" 30 android:text="@string/loading" 31 style="?android:attr/textAppearanceLarge" 32 android:layout_marginLeft="50dip" 33 android:layout_marginRight="50dip" 34 android:layout_marginTop="12dip" 35 android:layout_marginBottom="12dip" 36 android:background="#FFFFFFFF"/> 37 38 <ScrollView 39 android:id="@+id/scroll_view" 40 android:layout_width="match_parent" 41 android:layout_height="match_parent" 42 android:layout_weight="2" 43 android:animateLayoutChanges="true" 44 android:fillViewport="true" 45 android:visibility="gone"> 46 47 <FrameLayout 48 android:layout_width="match_parent" 49 android:layout_height="match_parent"> 50 51 <View android:id="@+id/event_bg" 52 android:layout_width="match_parent" 53 android:layout_height="match_parent" 54 android:layout_marginLeft="50dip" 55 android:layout_marginRight="50dip" 56 android:layout_marginTop="12dip" 57 android:layout_marginBottom="12dip" 58 android:layout_gravity="center_horizontal|top" 59 android:background="#FFFFFFFF"/> 60 61 <LinearLayout 62 android:id="@+id/two_pane" 63 android:orientation="vertical" 64 android:paddingTop="32dip" 65 android:paddingBottom="32dip" 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content" 68 android:layout_marginLeft="100dip" 69 android:layout_marginRight="100dip" 70 android:layout_marginTop="12dip" 71 android:layout_marginBottom="12dip" 72 android:layout_gravity="center_horizontal|top"> 73 74 <!-- TOP HALF --> 75 <include 76 layout="@layout/edit_event_1" 77 android:layout_width="match_parent" 78 android:layout_height="wrap_content" /> 79 80 <!-- BOTTOM HALF GUESTS/ATTENDEES --> 81 <include 82 layout="@layout/edit_event_2" 83 android:id="@+id/attendees_group" 84 android:layout_width="match_parent" 85 android:layout_height="wrap_content" /> 86 </LinearLayout> 87 88 <View android:id="@+id/color_chip" 89 android:layout_width="50dip" 90 android:layout_height="50dip" 91 android:layout_marginLeft="45dip" 92 android:layout_marginTop="7dip" 93 android:layout_gravity="left|top"/> 94 </FrameLayout> 95 </ScrollView> 96</LinearLayout> 97