| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2006 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/edit_event" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| style="@style/EditEvent_Layout" |
| android:paddingLeft="0dip"> |
| <TextView |
| android:id="@+id/loading_message" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_weight="1" |
| android:layout_gravity="center" |
| android:gravity="center" |
| android:text="@string/loading" |
| style="?android:attr/textAppearanceLarge" |
| android:layout_marginLeft="20dip" |
| android:layout_marginRight="20dip" |
| android:layout_marginTop="12dip" |
| android:layout_marginBottom="12dip" |
| android:background="#FFFFFFFF"/> |
| |
| <ScrollView |
| android:id="@+id/scroll_view" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_weight="2" |
| android:animateLayoutChanges="true" |
| android:fillViewport="true" |
| android:visibility="gone"> |
| |
| <FrameLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <View android:id="@+id/event_bg" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginLeft="0dip" |
| android:layout_marginRight="0dip" |
| android:layout_marginTop="12dip" |
| android:layout_marginBottom="12dip" |
| android:layout_gravity="center_horizontal|top" |
| android:background="#FFFFFFFF"/> |
| |
| <LinearLayout |
| android:id="@+id/two_pane" |
| android:orientation="vertical" |
| android:paddingTop="0dip" |
| android:paddingBottom="32dip" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="20dip" |
| android:layout_marginRight="20dip" |
| android:layout_marginTop="0dip" |
| android:layout_marginBottom="12dip" |
| android:layout_gravity="center_horizontal|top"> |
| |
| <!-- TOP HALF --> |
| <include |
| layout="@layout/edit_event_1" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" /> |
| |
| <!-- BOTTOM HALF GUESTS/ATTENDEES --> |
| <include |
| layout="@layout/edit_event_2" |
| android:id="@+id/attendees_group" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" /> |
| </LinearLayout> |
| |
| <View android:id="@+id/color_chip" |
| android:layout_width="45dip" |
| android:layout_height="45dip" |
| android:layout_marginLeft="12dip" |
| android:layout_marginTop="5dip" |
| android:layout_gravity="left|top" /> |
| </FrameLayout> |
| </ScrollView> |
| </LinearLayout> |