Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 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" |
Michael Chan | ffbc790 | 2010-12-07 15:08:40 -0800 | [diff] [blame] | 22 | style="@style/EditEvent_Layout" |
| 23 | android:paddingLeft="0dip"> |
Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 24 | <TextView |
| 25 | android:id="@+id/loading_message" |
| 26 | android:layout_width="match_parent" |
Michael Chan | d135fc2 | 2011-01-07 11:41:52 -0800 | [diff] [blame] | 27 | android:layout_height="match_parent" |
Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 28 | android:layout_weight="1" |
Michael Chan | d135fc2 | 2011-01-07 11:41:52 -0800 | [diff] [blame] | 29 | android:layout_gravity="center" |
Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 30 | android:gravity="center" |
Michael Chan | d135fc2 | 2011-01-07 11:41:52 -0800 | [diff] [blame] | 31 | android:text="@string/loading" |
| 32 | style="?android:attr/textAppearanceLarge" |
Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 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" |
Michael Chan | 89f2282 | 2011-01-05 17:50:39 -0800 | [diff] [blame] | 44 | android:animateLayoutChanges="true" |
Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 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" |
Erik | 3d30190 | 2011-05-25 15:35:39 -0700 | [diff] [blame] | 65 | android:paddingTop="0dip" |
Michael Chan | d135fc2 | 2011-01-07 11:41:52 -0800 | [diff] [blame] | 66 | android:paddingBottom="32dip" |
Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 67 | android:layout_width="match_parent" |
| 68 | android:layout_height="wrap_content" |
| 69 | android:layout_marginLeft="20dip" |
| 70 | android:layout_marginRight="20dip" |
Erik | 3d30190 | 2011-05-25 15:35:39 -0700 | [diff] [blame] | 71 | android:layout_marginTop="0dip" |
Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 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" |
Erik | 3d30190 | 2011-05-25 15:35:39 -0700 | [diff] [blame] | 90 | android:layout_width="45dip" |
| 91 | android:layout_height="45dip" |
| 92 | android:layout_marginLeft="12dip" |
| 93 | android:layout_marginTop="5dip" |
Erik | a7694ee | 2010-12-07 15:46:18 -0800 | [diff] [blame] | 94 | android:layout_gravity="left|top" /> |
| 95 | </FrameLayout> |
| 96 | </ScrollView> |
| 97 | </LinearLayout> |