Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Isaac Katzenelson | d6e7583 | 2011-06-07 12:34:51 -0700 | [diff] [blame] | 2 | <!-- Copyright (C) 2006 The Android Open Source Project |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 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 | --> |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 16 | <FrameLayout |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Isaac Katzenelson | fae6d5c | 2011-06-16 15:43:41 -0700 | [diff] [blame] | 18 | android:background="#fafafa" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Isaac Katzenelson | fae6d5c | 2011-06-16 15:43:41 -0700 | [diff] [blame] | 20 | android:layout_height="match_parent"> |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 21 | <RelativeLayout |
| 22 | android:id="@+id/event_info_loading_msg" |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 23 | android:layout_width="match_parent" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 24 | android:layout_height="match_parent"> |
| 25 | <ProgressBar |
| 26 | android:id="@+id/event_info_progress_bar" |
| 27 | android:layout_width="100dip" |
| 28 | android:layout_height="100dip" |
| 29 | android:indeterminate="true" |
| 30 | android:layout_centerInParent="true" /> |
| 31 | <TextView |
| 32 | android:layout_below="@id/event_info_progress_bar" |
| 33 | android:layout_centerHorizontal="true" |
| 34 | android:layout_marginTop="16dip" |
| 35 | android:text="@string/loading" |
| 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="wrap_content" /> |
| 38 | </RelativeLayout> |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 39 | |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 40 | <ScrollView |
| 41 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 42 | android:id="@+id/event_info_scroll_view" |
| 43 | android:orientation="vertical" |
| 44 | android:layout_width="match_parent" |
| 45 | android:layout_weight="1" |
| 46 | android:layout_height="match_parent"> |
| 47 | |
Isaac Katzenelson | fae6d5c | 2011-06-16 15:43:41 -0700 | [diff] [blame] | 48 | <LinearLayout |
Isaac Katzenelson | fae6d5c | 2011-06-16 15:43:41 -0700 | [diff] [blame] | 49 | android:layout_width="match_parent" |
| 50 | android:layout_height="wrap_content" |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 51 | android:layout_weight="1" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 52 | android:padding="16dip" |
| 53 | android:orientation="vertical" |
| 54 | android:animateLayoutChanges="false"> |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 55 | |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 56 | <!-- Container for the event's headline |
| 57 | Name, Date, Time & Location |
| 58 | --> |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 59 | <LinearLayout |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 60 | android:id="@+id/event_info_headline" |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 61 | android:layout_width="match_parent" |
Isaac Katzenelson | d6e7583 | 2011-06-07 12:34:51 -0700 | [diff] [blame] | 62 | android:layout_height="wrap_content" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 63 | android:paddingTop="12dip" |
| 64 | android:paddingBottom="16dip" |
| 65 | android:layout_weight="1" |
| 66 | android:orientation="vertical"> |
| 67 | |
| 68 | <LinearLayout |
| 69 | android:layout_width="match_parent" |
| 70 | android:layout_height="wrap_content" |
| 71 | android:orientation="horizontal"> |
| 72 | <!-- WHAT --> |
| 73 | <TextView |
| 74 | android:id="@+id/title" |
| 75 | android:layout_weight=".8" |
Isaac Katzenelson | d4e45fa | 2012-06-04 16:38:11 -0700 | [diff] [blame] | 76 | android:layout_width="0dip" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 77 | android:layout_height="wrap_content" |
| 78 | android:autoLink="all" |
Sara Ting | 6816194 | 2012-07-25 17:02:05 -0700 | [diff] [blame] | 79 | android:textIsSelectable="true" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 80 | android:textStyle="bold" |
| 81 | android:textColor="@color/event_info_headline_color" |
Michael Chan | 9906f94 | 2012-05-30 12:49:12 -0700 | [diff] [blame] | 82 | android:textColorLink="@color/event_info_headline_color" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 83 | android:paddingLeft="16dip" |
| 84 | android:paddingRight="16dip" |
| 85 | style="?android:attr/textAppearanceLarge" |
| 86 | android:textSize="30sp" /> |
| 87 | <!-- BUTTONS --> |
| 88 | <LinearLayout |
| 89 | android:id="@+id/event_info_buttons_container" |
| 90 | android:orientation="horizontal" |
| 91 | android:layout_width="wrap_content" |
| 92 | android:layout_height="wrap_content" |
| 93 | android:layout_marginLeft="16dip" |
| 94 | android:layout_marginRight="16dip" |
| 95 | android:layout_gravity="right"> |
Isaac Katzenelson | d4e45fa | 2012-06-04 16:38:11 -0700 | [diff] [blame] | 96 | <ImageButton |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 97 | android:id="@+id/edit" |
Isaac Katzenelson | d4e45fa | 2012-06-04 16:38:11 -0700 | [diff] [blame] | 98 | android:contentDescription="@string/edit_label" |
| 99 | android:layout_width="48dip" |
| 100 | android:layout_height="48dip" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 101 | android:enabled="false" |
Sara Ting | 42896f7 | 2012-03-15 15:24:36 -0700 | [diff] [blame] | 102 | android:visibility="gone" |
Isaac Katzenelson | d4e45fa | 2012-06-04 16:38:11 -0700 | [diff] [blame] | 103 | android:layout_marginRight="8dip" |
| 104 | android:padding="8dip" |
| 105 | android:scaleType="centerInside" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 106 | style="?android:attr/buttonBarButtonStyle" |
Isaac Katzenelson | d4e45fa | 2012-06-04 16:38:11 -0700 | [diff] [blame] | 107 | android:src="@drawable/ic_menu_compose_holo_dark" /> |
| 108 | <ImageButton |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 109 | android:id="@+id/delete" |
Isaac Katzenelson | d4e45fa | 2012-06-04 16:38:11 -0700 | [diff] [blame] | 110 | android:contentDescription="@string/delete_label" |
| 111 | android:layout_width="48dip" |
| 112 | android:layout_height="48dip" |
| 113 | android:layout_marginLeft="8dip" |
| 114 | android:padding="8dip" |
| 115 | android:scaleType="centerInside" |
Sara Ting | 42896f7 | 2012-03-15 15:24:36 -0700 | [diff] [blame] | 116 | android:enabled="false" |
| 117 | android:visibility="gone" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 118 | style="?android:attr/buttonBarButtonStyle" |
Isaac Katzenelson | d4e45fa | 2012-06-04 16:38:11 -0700 | [diff] [blame] | 119 | android:src="@drawable/ic_menu_trash_holo_dark" /> |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 120 | </LinearLayout> |
| 121 | </LinearLayout> |
| 122 | |
| 123 | <!-- WHEN --> |
Isaac Katzenelson | d6e7583 | 2011-06-07 12:34:51 -0700 | [diff] [blame] | 124 | <TextView |
Sara Ting | 75f5366 | 2012-04-09 15:37:10 -0700 | [diff] [blame] | 125 | android:id="@+id/when_datetime" |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 126 | android:layout_width="wrap_content" |
| 127 | android:layout_height="wrap_content" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 128 | android:textSize="18sp" |
| 129 | android:layout_marginTop="2dip" |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 130 | android:paddingLeft="16dip" |
RoboErik | 763b930 | 2011-08-02 16:27:48 -0700 | [diff] [blame] | 131 | android:paddingRight="16dip" |
Sara Ting | 6816194 | 2012-07-25 17:02:05 -0700 | [diff] [blame] | 132 | android:textIsSelectable="true" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 133 | android:textColor="@color/event_info_headline_color" |
| 134 | style="?android:attr/textAppearanceLarge" /> |
| 135 | |
| 136 | <TextView |
Sara Ting | 75f5366 | 2012-04-09 15:37:10 -0700 | [diff] [blame] | 137 | android:id="@+id/when_repeat" |
Isaac Katzenelson | fae6d5c | 2011-06-16 15:43:41 -0700 | [diff] [blame] | 138 | android:layout_width="wrap_content" |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 139 | android:layout_height="wrap_content" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 140 | android:textSize="18sp" |
| 141 | android:paddingLeft="16dip" |
| 142 | android:paddingRight="16dip" |
Sara Ting | 23acd26 | 2012-04-20 13:27:39 -0700 | [diff] [blame] | 143 | android:textColor="@color/event_info_headline_transparent_color" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 144 | style="?android:attr/textAppearanceLarge" /> |
| 145 | |
| 146 | <!-- WHERE --> |
| 147 | <TextView |
| 148 | android:id="@+id/where" |
| 149 | android:layout_width="match_parent" |
| 150 | android:layout_height="wrap_content" |
| 151 | android:ellipsize="end" |
| 152 | android:singleLine="false" |
| 153 | android:layout_marginTop="8dip" |
| 154 | android:textSize="18sp" |
| 155 | android:paddingLeft="16dip" |
| 156 | android:paddingRight="16dip" |
Sara Ting | 6816194 | 2012-07-25 17:02:05 -0700 | [diff] [blame] | 157 | android:textIsSelectable="true" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 158 | android:textColor="@color/event_info_headline_color" |
| 159 | android:textColorLink="@color/event_info_headline_link_color" |
| 160 | style="?android:attr/textAppearanceLarge" /> |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 161 | </LinearLayout> |
Isaac Katzenelson | 0bab38f | 2011-04-08 15:50:13 -0700 | [diff] [blame] | 162 | |
RoboErik | d4208ce | 2011-10-10 18:17:44 -0700 | [diff] [blame] | 163 | <LinearLayout |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 164 | android:layout_marginTop="10dip" |
Sara Ting | 6aad0ff | 2012-08-02 10:55:52 -0700 | [diff] [blame] | 165 | android:orientation="vertical" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 166 | android:layout_width="match_parent" |
Sara Ting | 6aad0ff | 2012-08-02 10:55:52 -0700 | [diff] [blame] | 167 | android:layout_height="wrap_content" > |
| 168 | |
| 169 | <!-- Calendar Owner --> |
| 170 | <LinearLayout |
| 171 | android:id="@+id/calendar_container" |
| 172 | android:visibility="gone" |
| 173 | android:orientation="horizontal" |
| 174 | android:layout_width="match_parent" |
| 175 | android:layout_height="wrap_content"> |
| 176 | <TextView |
| 177 | android:id="@+id/calendar_label" |
| 178 | android:layout_width="wrap_content" |
| 179 | android:layout_height="wrap_content" |
| 180 | android:paddingLeft="16dip" |
| 181 | android:singleLine="true" |
| 182 | android:text="@string/view_event_calendar_label" |
| 183 | android:textColor="@color/event_info_organizer_color" |
| 184 | style="?android:attr/textAppearanceSmall" |
| 185 | android:textSize="18sp"/> |
| 186 | <TextView |
| 187 | android:id="@+id/calendar_name" |
| 188 | android:layout_width="0px" |
| 189 | android:layout_height="wrap_content" |
| 190 | android:ellipsize="end" |
| 191 | android:layout_weight="1" |
| 192 | android:singleLine="true" |
| 193 | android:layout_marginLeft="4dip" |
| 194 | android:layout_marginRight="8dip" |
| 195 | android:textIsSelectable="true" |
| 196 | android:textColor="@color/event_info_organizer_color" |
| 197 | style="?android:attr/textAppearanceSmall" |
| 198 | android:textSize="18sp"/> |
| 199 | </LinearLayout> |
| 200 | |
| 201 | <!-- Organizer --> |
| 202 | <LinearLayout |
| 203 | android:id="@+id/organizer_container" |
| 204 | android:visibility="gone" |
| 205 | android:orientation="horizontal" |
| 206 | android:layout_width="match_parent" |
| 207 | android:layout_height="wrap_content"> |
| 208 | <TextView |
| 209 | android:id="@+id/organizer_label" |
| 210 | android:layout_width="wrap_content" |
| 211 | android:layout_height="wrap_content" |
| 212 | android:paddingLeft="16dip" |
| 213 | android:singleLine="true" |
| 214 | android:text="@string/event_info_organizer" |
| 215 | android:textColor="@color/event_info_organizer_color" |
| 216 | style="?android:attr/textAppearanceSmall" |
| 217 | android:textSize="18sp"/> |
| 218 | <TextView |
| 219 | android:id="@+id/organizer" |
| 220 | android:layout_width="0px" |
| 221 | android:layout_height="wrap_content" |
| 222 | android:ellipsize="end" |
| 223 | android:layout_weight="1" |
| 224 | android:singleLine="true" |
| 225 | android:layout_marginLeft="4dip" |
| 226 | android:layout_marginRight="8dip" |
| 227 | android:textIsSelectable="true" |
| 228 | android:textColor="@color/event_info_organizer_color" |
| 229 | style="?android:attr/textAppearanceSmall" |
| 230 | android:textSize="18sp"/> |
| 231 | </LinearLayout> |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 232 | </LinearLayout> |
| 233 | |
| 234 | <!-- DESCRIPTION --> |
| 235 | <include |
| 236 | android:id="@+id/description" |
| 237 | layout="@layout/expandable_textview" /> |
| 238 | |
| 239 | <!-- RESPONSE --> |
| 240 | <LinearLayout |
| 241 | android:id="@+id/response_container" |
| 242 | android:visibility="gone" |
| 243 | android:orientation="vertical" |
| 244 | android:layout_width="match_parent" |
| 245 | android:layout_height="wrap_content"> |
| 246 | <TextView |
| 247 | android:id="@+id/response_label" |
| 248 | android:layout_width="match_parent" |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 249 | android:layout_height="wrap_content" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 250 | android:layout_gravity="center_vertical" |
| 251 | android:paddingLeft="8dip" |
| 252 | android:paddingRight="16dip" |
| 253 | android:layout_marginTop="8dip" |
| 254 | android:layout_marginLeft="8dip" |
| 255 | android:textColor="@color/event_info_label_color" |
| 256 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 257 | style="?android:attr/listSeparatorTextViewStyle" |
| 258 | android:text="@string/view_event_response_label" /> |
| 259 | <RadioGroup |
| 260 | android:id="@+id/response_value" |
| 261 | android:layout_width="match_parent" |
| 262 | android:layout_height="wrap_content" |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 263 | android:minHeight="52dip" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 264 | android:layout_gravity="center_vertical" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 265 | android:paddingLeft="9dip" |
| 266 | android:orientation="horizontal"> |
| 267 | <RadioButton |
| 268 | android:id="@+id/response_yes" |
| 269 | android:layout_width="0dip" |
| 270 | android:layout_height="wrap_content" |
| 271 | android:layout_weight="1" |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 272 | android:layout_gravity="center_vertical" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 273 | android:minWidth="96dip" |
| 274 | style="?android:attr/textAppearanceMedium" |
| 275 | android:textColor="@color/event_info_body_color" |
| 276 | android:text="@string/response_yes" /> |
| 277 | <RadioButton |
| 278 | android:id="@+id/response_maybe" |
| 279 | android:layout_width="0dip" |
| 280 | android:layout_height="wrap_content" |
| 281 | android:layout_weight="1" |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 282 | android:layout_gravity="center_vertical" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 283 | android:minWidth="96dip" |
| 284 | style="?android:attr/textAppearanceMedium" |
| 285 | android:textColor="@color/event_info_body_color" |
| 286 | android:text="@string/response_maybe" /> |
| 287 | <RadioButton |
| 288 | android:id="@+id/response_no" |
| 289 | android:layout_width="0dip" |
| 290 | android:layout_height="wrap_content" |
| 291 | android:layout_weight="1" |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 292 | android:layout_gravity="center_vertical" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 293 | android:minWidth="96dip" |
| 294 | style="?android:attr/textAppearanceMedium" |
| 295 | android:textColor="@color/event_info_body_color" |
| 296 | android:text="@string/response_no" /> |
| 297 | </RadioGroup> |
| 298 | </LinearLayout> |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 299 | |
| 300 | <!-- EMAIL GUESTS --> |
| 301 | <LinearLayout |
| 302 | android:id="@+id/email_attendees_container" |
| 303 | android:visibility="gone" |
| 304 | android:orientation="vertical" |
| 305 | android:layout_width="match_parent" |
| 306 | android:layout_height="wrap_content"> |
| 307 | <View |
| 308 | android:background="?android:attr/listDivider" |
| 309 | android:layout_height="1px" |
| 310 | android:layout_width="match_parent" |
| 311 | android:layout_marginLeft="8dip" |
| 312 | android:layout_marginRight="0dip" /> |
| 313 | <Button |
| 314 | android:id="@+id/email_attendees_button" |
| 315 | android:text="@string/email_guests_label" |
| 316 | android:layout_height="50dp" |
| 317 | android:layout_width="match_parent" |
Michael Chan | 2c8485c | 2012-05-09 10:23:45 -0700 | [diff] [blame] | 318 | android:layout_marginLeft="5dp" |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 319 | android:layout_marginRight="0dp" |
| 320 | android:layout_gravity="left" |
| 321 | android:gravity="center_vertical" |
| 322 | android:paddingBottom="0dp" |
| 323 | android:layout_marginTop="0dip" |
| 324 | android:layout_marginBottom="0dip" |
| 325 | android:textAllCaps="false" |
| 326 | android:textSize="16sp" |
| 327 | android:textColor="#777777" |
| 328 | android:background="?android:attr/selectableItemBackground" |
| 329 | android:drawableLeft="@drawable/event_info_mail_button" |
| 330 | android:drawablePadding="8dp" |
| 331 | style="@style/TextAppearance.EditEvent_LabelSmall" /> |
| 332 | </LinearLayout> |
| 333 | |
Michael Chan | 2c8485c | 2012-05-09 10:23:45 -0700 | [diff] [blame] | 334 | <!-- LAUNCH CUSTOM APP --> |
| 335 | <LinearLayout |
| 336 | android:id="@+id/launch_custom_app_container" |
| 337 | android:visibility="gone" |
| 338 | android:orientation="vertical" |
| 339 | android:layout_width="match_parent" |
| 340 | android:layout_height="wrap_content"> |
| 341 | <View |
| 342 | android:background="?android:attr/listDivider" |
| 343 | android:layout_height="1px" |
| 344 | android:layout_width="match_parent" |
| 345 | android:layout_marginLeft="8dip" |
| 346 | android:layout_marginRight="0dip" /> |
| 347 | <Button |
| 348 | android:id="@+id/launch_custom_app_button" |
| 349 | android:layout_height="50dp" |
| 350 | android:layout_width="match_parent" |
| 351 | android:layout_marginLeft="5dp" |
| 352 | android:layout_marginRight="0dp" |
| 353 | android:layout_gravity="left" |
| 354 | android:gravity="center_vertical" |
| 355 | android:paddingBottom="0dp" |
| 356 | android:layout_marginTop="0dip" |
| 357 | android:layout_marginBottom="0dip" |
| 358 | android:textAllCaps="false" |
| 359 | android:textSize="16sp" |
| 360 | android:textColor="#777777" |
| 361 | android:background="?android:attr/selectableItemBackground" |
| 362 | android:drawablePadding="8dp" |
| 363 | style="@style/TextAppearance.EditEvent_LabelSmall" /> |
| 364 | </LinearLayout> |
| 365 | |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 366 | <!-- GUEST LIST --> |
| 367 | <com.android.calendar.event.AttendeesView |
| 368 | android:id="@+id/long_attendee_list" |
| 369 | android:textColor="@color/event_info_body_color" |
| 370 | android:orientation="vertical" |
| 371 | android:layout_height="wrap_content" |
| 372 | android:layout_width="match_parent" |
| 373 | android:visibility="gone" |
| 374 | android:layout_marginTop="5dip"/> |
| 375 | |
| 376 | <!-- REMINDERS --> |
| 377 | <LinearLayout |
| 378 | android:id="@+id/reminders_row" |
| 379 | android:orientation="vertical" |
RoboErik | d4208ce | 2011-10-10 18:17:44 -0700 | [diff] [blame] | 380 | android:layout_width="match_parent" |
| 381 | android:layout_height="wrap_content" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 382 | android:focusable="true"> |
| 383 | <TextView |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 384 | android:layout_width="match_parent" |
| 385 | android:layout_height="wrap_content" |
| 386 | android:layout_gravity="center_vertical" |
| 387 | android:paddingLeft="8dip" |
| 388 | android:paddingRight="16dip" |
| 389 | android:layout_marginTop="4dip" |
| 390 | android:layout_marginLeft="8dip" |
| 391 | android:textColor="@color/event_info_label_color" |
| 392 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 393 | style="?android:attr/listSeparatorTextViewStyle" |
| 394 | android:text="@string/event_info_reminders_label" /> |
| 395 | <LinearLayout |
| 396 | android:id="@+id/reminder_items_container" |
| 397 | android:layout_width="match_parent" |
| 398 | android:layout_height="wrap_content" |
| 399 | android:layout_marginLeft="-8dp" |
| 400 | android:layout_weight="1" |
| 401 | android:orientation="vertical" /> |
| 402 | <Button |
| 403 | android:id="@+id/reminder_add" |
| 404 | android:text="@string/reminders_label" |
| 405 | android:layout_height="wrap_content" |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 406 | android:layout_width="match_parent" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 407 | android:layout_marginLeft="8dp" |
Sara Ting | cb5f568 | 2012-04-04 22:52:20 -0700 | [diff] [blame] | 408 | android:layout_marginRight="0dp" |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 409 | android:layout_marginBottom="-6dp" |
| 410 | android:gravity="center_vertical|left" |
| 411 | android:textSize="18sp" |
| 412 | android:textColor="#FF777777" |
| 413 | android:minHeight="38dip" |
| 414 | android:background="?android:attr/selectableItemBackground" |
| 415 | android:contentDescription="@string/accessibility_add_reminder" |
| 416 | style="@style/TextAppearance.EditEvent_LabelSmall" |
| 417 | android:textAllCaps="false" /> |
| 418 | </LinearLayout> |
RoboErik | d4208ce | 2011-10-10 18:17:44 -0700 | [diff] [blame] | 419 | </LinearLayout> |
Isaac Katzenelson | 8f4d969 | 2012-02-23 17:34:07 -0800 | [diff] [blame] | 420 | </ScrollView> |
| 421 | </FrameLayout> |