summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:49 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:49 -0800
commit2cb8df4a54d65554c34faa79d8b2a46a86ff7b52 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /res/layout
parent0d78b568cd2c23fda9475c1dfaddad7c57ec3984 (diff)
downloadandroid_packages_apps_Calendar-2cb8df4a54d65554c34faa79d8b2a46a86ff7b52.tar.gz
android_packages_apps_Calendar-2cb8df4a54d65554c34faa79d8b2a46a86ff7b52.tar.bz2
android_packages_apps_Calendar-2cb8df4a54d65554c34faa79d8b2a46a86ff7b52.zip
auto import from //depot/cupcake/@135843
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/agenda_activity.xml25
-rw-r--r--res/layout/agenda_day.xml38
-rw-r--r--res/layout/agenda_item.xml65
-rw-r--r--res/layout/agenda_reminder_item.xml36
-rw-r--r--res/layout/alert_activity.xml52
-rw-r--r--res/layout/alert_item.xml97
-rw-r--r--res/layout/alert_toast.xml90
-rw-r--r--res/layout/bubble_event.xml64
-rw-r--r--res/layout/calendar_item.xml40
-rw-r--r--res/layout/calendars_activity.xml26
-rw-r--r--res/layout/calendars_dropdown_item.xml34
-rw-r--r--res/layout/calendars_item.xml32
-rw-r--r--res/layout/day_activity.xml53
-rw-r--r--res/layout/edit_event.xml339
-rw-r--r--res/layout/edit_reminder_item.xml37
-rw-r--r--res/layout/event_info_activity.xml213
-rw-r--r--res/layout/gadget_item.xml192
-rw-r--r--res/layout/ics_import_activity.xml74
-rw-r--r--res/layout/month_activity.xml81
-rw-r--r--res/layout/month_bubble.xml101
-rw-r--r--res/layout/week_activity.xml53
21 files changed, 0 insertions, 1742 deletions
diff --git a/res/layout/agenda_activity.xml b/res/layout/agenda_activity.xml
deleted file mode 100644
index 4bf0ee61..00000000
--- a/res/layout/agenda_activity.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <ViewSwitcher android:id="@+id/switcher"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
-</LinearLayout>
diff --git a/res/layout/agenda_day.xml b/res/layout/agenda_day.xml
deleted file mode 100644
index faee4a60..00000000
--- a/res/layout/agenda_day.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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:orientation="horizontal"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:background="@android:color/darker_gray"
- android:padding="4dip"
- >
- <TextView android:id="@+id/date"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:textStyle="bold"
- android:textColor="?android:attr/textColorPrimary"
- />
- <TextView android:id="@+id/day_of_week"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_marginLeft="5dip"
- android:textColor="?android:attr/textColorPrimary"
- />
-</LinearLayout>
-
diff --git a/res/layout/agenda_item.xml b/res/layout/agenda_item.xml
deleted file mode 100644
index e700328d..00000000
--- a/res/layout/agenda_item.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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.
--->
-
-
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@android:id/content"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent">
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- >
-
- <View android:id="@+id/vertical_stripe"
- android:layout_width="10dip"
- android:layout_height="fill_parent"
- android:layout_marginRight="5dip" />
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:layout_weight="1">
-
- <TextView android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:textColor="@android:color/black"
- style="?android:attr/textAppearanceMediumInverse"
- />
-
- <TextView android:id="@+id/when"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:textColor="@android:color/black"
- style="?android:attr/textAppearanceSmallInverse"
- />
-
- <TextView android:id="@+id/where"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:textColor="@android:color/black"
- style="?android:attr/textAppearanceSmallInverse"
- />
- </LinearLayout>
- </LinearLayout>
-</FrameLayout> \ No newline at end of file
diff --git a/res/layout/agenda_reminder_item.xml b/res/layout/agenda_reminder_item.xml
deleted file mode 100644
index 40383606..00000000
--- a/res/layout/agenda_reminder_item.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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:orientation="horizontal"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent">
-
- <ImageView android:id="@+id/reminder_icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/ic_alarm_dark"
- android:focusable="false"
- android:clickable="false"
- />
-
- <TextView android:id="@+id/reminder"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- style="@style/TextAppearance.AgendaView_ValueLabel"
- />
-</LinearLayout>
diff --git a/res/layout/alert_activity.xml b/res/layout/alert_activity.xml
deleted file mode 100644
index bce77d1d..00000000
--- a/res/layout/alert_activity.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:padding="10dip">
-
- <ListView android:id="@+id/alert_container"
- android:layout_width="fill_parent"
- android:layout_height="0dip"
- android:layout_weight="1"
- android:listSelector="@android:color/transparent"
- android:divider="@null" />
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingTop="3dip">
-
- <Button android:id="@+id/snooze_all"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/snooze_all_label" />
-
- <TextView android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1" />
-
- <Button android:id="@+id/dismiss_all"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/dismiss_all_label" />
- </LinearLayout>
-</LinearLayout>
diff --git a/res/layout/alert_item.xml b/res/layout/alert_item.xml
deleted file mode 100644
index 9e76405b..00000000
--- a/res/layout/alert_item.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/box_appointment">
-
- <ImageView android:id="@+id/vertical_stripe"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:layout_marginTop="2dip"
- android:layout_marginBottom="2dip"
- android:layout_marginRight="5dip"
- android:background="@drawable/box_color_white" />
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <LinearLayout android:id="@+id/event_title_container"
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <TextView android:id="@+id/event_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:textStyle="bold"
- android:textColor="@android:color/black"
- style="?android:attr/textAppearanceMediumInverse" />
- </LinearLayout>
-
- <LinearLayout android:id="@+id/event_details"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="0dip"
- android:layout_height="fill_parent"
- android:layout_weight="1"
- android:gravity="center_vertical">
-
- <TextView android:id="@+id/when"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:textStyle="bold"
- style="?android:attr/textAppearanceSmallInverse" />
-
- <ImageView android:id="@+id/repeat_icon"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:layout_marginLeft="5dip"
- android:src="@drawable/ic_repeat_dark"
- android:focusable="false"
- android:clickable="false"
- />
-
- </LinearLayout>
- <LinearLayout android:id="@+id/reminders_container"
- android:orientation="vertical"
- android:layout_height="fill_parent"
- android:layout_width="wrap_content"
- />
- </LinearLayout>
-
- <TextView android:id="@+id/where"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- style="?android:attr/textAppearanceSmallInverse" />
- </LinearLayout>
- </LinearLayout>
-</LinearLayout>
diff --git a/res/layout/alert_toast.xml b/res/layout/alert_toast.xml
deleted file mode 100644
index 3187ca74..00000000
--- a/res/layout/alert_toast.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@android:drawable/toast_frame">
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="10dip">
-
- <ImageView android:id="@+id/repeat_icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="10dip"
- android:src="@android:drawable/ic_popup_reminder"
- />
-
- <TextView android:id="@+id/event_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- style="@style/TextAppearance.Alert_Title" />
- </LinearLayout>
-
- <ImageView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:background="@android:drawable/divider_horizontal_dark" />
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="10dip">
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <TextView android:id="@+id/when_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingRight="4dip"
- android:text="@string/alert_when_label"
- style="@style/TextAppearance.Alert_Label" />
-
- <TextView android:id="@+id/when"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- style="@style/TextAppearance.Alert_Value" />
- </LinearLayout>
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <TextView android:id="@+id/where_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingRight="4dip"
- android:text="@string/alert_where_label"
- style="@style/TextAppearance.Alert_Label" />
-
- <TextView android:id="@+id/where"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- style="@style/TextAppearance.Alert_Value" />
- </LinearLayout>
- </LinearLayout>
-</LinearLayout>
diff --git a/res/layout/bubble_event.xml b/res/layout/bubble_event.xml
deleted file mode 100644
index 9f988e33..00000000
--- a/res/layout/bubble_event.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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/bubble_layout"
- android:orientation="vertical"
- android:paddingTop="5dip"
- android:paddingBottom="5dip"
- android:paddingLeft="10dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
-
- <TextView android:id="@+id/event_title"
- android:textStyle="bold"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
-
- <ImageView android:id="@+id/reminder_icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginRight="6dip"
- android:src="@drawable/ic_alarm_white"
- />
-
- <ImageView android:id="@+id/repeat_icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginRight="6dip"
- android:src="@drawable/ic_repeat_white"
- />
-
- <TextView android:id="@+id/time"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- </LinearLayout>
-
- <TextView android:id="@+id/where"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-</LinearLayout>
diff --git a/res/layout/calendar_item.xml b/res/layout/calendar_item.xml
deleted file mode 100644
index 9d3ba391..00000000
--- a/res/layout/calendar_item.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="?android:attr/listPreferredItemHeight"
- android:gravity="center_vertical">
-
- <View android:id="@+id/color"
- android:layout_width="10dip"
- android:layout_height="58dip"
- />
-
- <CheckBox android:id="@+id/checkbox"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="4dip"
- android:layout_marginRight="2dip"
- />
-
- <TextView android:id="@+id/calendar"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- style="?android:attr/textAppearanceLarge"
- />
-</LinearLayout>
diff --git a/res/layout/calendars_activity.xml b/res/layout/calendars_activity.xml
deleted file mode 100644
index 3eb19b17..00000000
--- a/res/layout/calendars_activity.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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/calendars"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <ListView android:id="@+id/items"
- android:layout_width="fill_parent"
- android:layout_height="0dip"
- android:layout_weight="1" />
-</LinearLayout>
diff --git a/res/layout/calendars_dropdown_item.xml b/res/layout/calendars_dropdown_item.xml
deleted file mode 100644
index 13359990..00000000
--- a/res/layout/calendars_dropdown_item.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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:orientation="horizontal"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent">
-
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:src="@drawable/calendars_item"/>
-
- <CheckedTextView
- android:id="@+id/calendar_name"
- style="?android:attr/spinnerDropDownItemStyle"
- android:singleLine="true"
- android:layout_width="fill_parent"
- android:layout_height="?android:attr/listPreferredItemHeight" />
-
-</LinearLayout>
diff --git a/res/layout/calendars_item.xml b/res/layout/calendars_item.xml
deleted file mode 100644
index 1ba2d08d..00000000
--- a/res/layout/calendars_item.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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:orientation="horizontal"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent">
-
- <ImageView android:id="@+id/right_arrow"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:src="@drawable/calendars_item"/>
-
- <TextView android:id="@+id/calendar_name"
- style="?android:attr/spinnerItemStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-
-</LinearLayout>
diff --git a/res/layout/day_activity.xml b/res/layout/day_activity.xml
deleted file mode 100644
index 93b3ce18..00000000
--- a/res/layout/day_activity.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?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:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
-
- <RelativeLayout
- android:layout_width="fill_parent"
- android:layout_height="?android:attr/windowTitleSize"
- style="?android:attr/windowTitleBackgroundStyle">
-
- <TextView android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- style="?android:attr/windowTitleStyle"
- android:background="@null"
- android:fadingEdge="horizontal"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- />
-
- <ProgressBar android:id="@+id/progress_circular"
- style="?android:attr/progressBarStyleSmall"
- android:visibility="gone"
- android:max="10000"
- android:layout_centerVertical="true"
- android:layout_alignParentRight="true"
- android:layout_marginLeft="6dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </RelativeLayout>
-
- <ViewSwitcher android:id="@+id/switcher"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
-</LinearLayout>
diff --git a/res/layout/edit_event.xml b/res/layout/edit_event.xml
deleted file mode 100644
index 68f20014..00000000
--- a/res/layout/edit_event.xml
+++ /dev/null
@@ -1,339 +0,0 @@
-<?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.
--->
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/scroll_view"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <LinearLayout android:id="@+id/event"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <!-- WHAT -->
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="5dip">
-
- <TextView android:id="@+id/what_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/what_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <EditText android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:hint="@string/hint_what"
- android:capitalize="words"/>
- </LinearLayout>
-
- <!-- WHEN -->
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <LinearLayout android:id="@+id/when_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="5dip">
-
- <TextView android:id="@+id/from_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/edit_event_from_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <Button android:id="@+id/start_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-
- <Button android:id="@+id/start_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-
- </LinearLayout>
-
- <TextView android:id="@+id/to_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/edit_event_to_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <Button android:id="@+id/end_date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-
- <Button android:id="@+id/end_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- </LinearLayout>
-
- <CheckBox android:id="@+id/is_all_day"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/edit_event_all_day_label"/>
- </LinearLayout>
-
- <!-- WHERE -->
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <LinearLayout android:id="@+id/where_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="5dip">
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/where_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <EditText android:id="@+id/location"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:hint="@string/hint_where"
- android:capitalize="sentences"/>
- </LinearLayout>
-
- <!-- DESCRIPTION -->
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="5dip">
-
- <TextView android:id="@+id/description_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/description_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <EditText android:id="@+id/description"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:hint="@string/hint_description"
- android:capitalize="sentences"/>
- </LinearLayout>
-
- <!-- CALENDARS -->
- <View android:id="@+id/calendar_separator"
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:paddingTop="5dip"
- android:paddingBottom="1dip">
-
- <TextView android:id="@+id/calendar_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/edit_event_calendar_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <Spinner android:id="@+id/calendars"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
- </LinearLayout>
-
- <!-- REMINDERS -->
- <View android:id="@+id/reminders_separator"
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <LinearLayout android:id="@+id/reminders_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:paddingTop="5dip"
- android:paddingBottom="1dip">
-
- <TextView android:id="@+id/reminders_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/reminders_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <LinearLayout android:id="@+id/reminder_items_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
- </LinearLayout>
- </LinearLayout>
-
- <!-- REPEATS -->
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:paddingTop="5dip"
- android:paddingBottom="1dip">
-
- <TextView android:id="@+id/repeats_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/repeats_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <Spinner android:id="@+id/repeats"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"/>
- </LinearLayout>
-
- <!-- MORE OPTIONS -->
- <LinearLayout android:id="@+id/extra_options_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:visibility="gone">
-
- <!-- PRESENCE -->
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:paddingTop="5dip"
- android:paddingBottom="1dip">
-
- <TextView android:id="@+id/presence_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/presence_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <Spinner android:id="@+id/availability"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:entries="@array/availability" />
- </LinearLayout>
-
- <!-- PRIVACY -->
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:paddingTop="5dip"
- android:paddingBottom="1dip">
-
- <TextView android:id="@+id/privacy_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/privacy_label"
- style="@style/TextAppearance.EditEvent_Label"/>
-
- <Spinner android:id="@+id/visibility"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:entries="@array/visibility" />
- </LinearLayout>
- </LinearLayout>
-
- <!-- BUTTONS -->
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingTop="5dip"
- android:paddingLeft="4dip"
- android:paddingRight="4dip"
- android:paddingBottom="1dip"
- android:background="@android:drawable/bottom_bar" >
-
- <Button android:id="@+id/save"
- android:layout_width="0dip"
- android:layout_height="fill_parent"
- android:layout_weight="1"
- android:text="@string/save_label"
- />
-
- <Button android:id="@+id/discard"
- android:layout_width="0dip"
- android:layout_height="fill_parent"
- android:layout_weight="1"
- android:text="@string/discard_label"
- />
-
- <Button android:id="@+id/delete"
- android:layout_width="0dip"
- android:layout_height="fill_parent"
- android:layout_weight="1"
- android:text="@string/delete_label"
- />
- </LinearLayout>
- </LinearLayout>
-</ScrollView>
diff --git a/res/layout/edit_reminder_item.xml b/res/layout/edit_reminder_item.xml
deleted file mode 100644
index 160eb8a2..00000000
--- a/res/layout/edit_reminder_item.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <Spinner android:id="@+id/reminder_value"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_gravity="center_vertical"
- android:entries="@array/reminder_minutes_labels"/>
-
- <ImageButton android:id="@+id/reminder_remove"
- style="?android:attr/buttonStyleInset"
- android:src="@android:drawable/ic_delete"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="2dip"
- android:gravity="center_vertical"
- />
-</LinearLayout>
diff --git a/res/layout/event_info_activity.xml b/res/layout/event_info_activity.xml
deleted file mode 100644
index a6fbe2db..00000000
--- a/res/layout/event_info_activity.xml
+++ /dev/null
@@ -1,213 +0,0 @@
-<?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.
--->
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="1.0" >
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="8dip"
- android:layout_alignParentTop="true" >
-
-
- <LinearLayout android:id="@+id/event"
- android:background="@drawable/bg_cal_card"
- android:orientation="vertical"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:layout_weight="1">
-
-
- <View android:id="@+id/strip"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/strip_cal"
- />
-
- <!-- WHAT -->
- <TextView android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:autoLink="all"
- android:textStyle="bold"
- android:padding="8dip"
- style="?android:attr/textAppearanceMedium"
- />
-
- <View android:id="@+id/divider"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="8dip"
- android:layout_marginRight="8dip"
- android:background="@android:drawable/divider_horizontal_dark"
- />
-
- <!-- WHEN -->
- <TextView android:id="@+id/when"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingTop="5dip"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:textStyle="bold"
- style="?android:attr/textAppearanceSmall"
- />
-
- <!-- TIMEZONE -->
- <LinearLayout android:id="@+id/timezone_container"
- android:orientation="horizontal"
- android:paddingTop="5dip"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <TextView android:id="@+id/timezone_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dip"
- android:text="@string/view_event_timezone_label"
- style="?android:attr/textAppearanceSmall"
- />
-
- <TextView android:id="@+id/timezone"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- style="?android:attr/textAppearanceSmall"
- />
- </LinearLayout>
-
- <!-- REPEATS -->
- <LinearLayout android:id="@+id/repeat_container"
- android:orientation="horizontal"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <ImageView android:id="@+id/repeat_icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/ic_repeat_dark"
- android:focusable="false"
- android:clickable="false"
- />
-
- <TextView android:id="@+id/repeat"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="3dip"
- style="?android:attr/textAppearanceSmall"
- />
- </LinearLayout>
-
- <!-- WHERE -->
- <TextView android:id="@+id/where"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:autoLink="all"
- android:textStyle="bold"
- style="?android:attr/textAppearanceSmall"
- />
-
- <!-- DESCRIPTION -->
- <TextView android:id="@+id/description"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:autoLink="all"
- style="?android:attr/textAppearanceSmall"
- />
-
- <!-- CALENDAR -->
- <LinearLayout android:id="@+id/calendar_container"
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:paddingBottom="5dip"
- >
-
- <TextView android:id="@+id/calendar_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dip"
- android:text="@string/view_event_calendar_label"
- style="?android:attr/textAppearanceSmall"
- />
-
- <TextView android:id="@+id/calendar"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- style="?android:attr/textAppearanceSmall"
- />
- </LinearLayout>
- </LinearLayout>
-
- <!-- REMINDERS -->
- <LinearLayout android:id="@+id/reminders_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingTop="5dip"
- android:paddingBottom="1dip">
-
- <TextView android:id="@+id/reminders_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/reminders_label"
- style="?android:attr/textAppearanceMedium"/>
-
- <LinearLayout android:id="@+id/reminder_items_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
- </LinearLayout>
- </LinearLayout>
-
- <!-- RESPONSE -->
- <LinearLayout android:id="@+id/response_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingTop="5dip"
- android:paddingBottom="1dip">
-
- <TextView android:id="@+id/response_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/view_event_response_label"
- style="?android:attr/textAppearanceMedium"/>
-
- <Spinner android:id="@+id/response_value"
- android:prompt="@string/view_event_response_label"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:entries="@array/response_labels1"/>
- </LinearLayout>
- </LinearLayout>
-</ScrollView>
diff --git a/res/layout/gadget_item.xml b/res/layout/gadget_item.xml
deleted file mode 100644
index 0d4160b8..00000000
--- a/res/layout/gadget_item.xml
+++ /dev/null
@@ -1,192 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2009 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.
--->
-
-
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/gadget"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="6px"
- android:background="@drawable/bg_calendar"
- >
-
- <TextView
- android:id="@+id/no_events"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:paddingTop="6px"
- android:gravity="center"
- android:textStyle="bold"
- android:textSize="16sp"
- android:text="@string/gadget_no_events"
- android:textColor="@color/gadget_no_events"
- />
-
- <LinearLayout
- android:id="@+id/secondary_card"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="3px"
- android:layout_marginRight="3px"
- android:orientation="vertical"
- android:visibility="gone"
- >
-
- <TextView
- android:id="@+id/stub_when"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:textSize="11sp"
- android:paddingTop="8px"
- android:visibility="invisible"
- />
-
- <TextView
- android:id="@+id/stub_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:textSize="16sp"
- android:visibility="invisible"
- />
-
- <TextView
- android:id="@+id/stub_where"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textSize="11sp"
- android:visibility="invisible"
- />
-
- <TextView
- android:id="@+id/secondary_when"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="8px"
- android:paddingTop="1px"
- android:paddingBottom="1px"
- android:gravity="center_vertical"
- android:background="@drawable/strip_cal_secondary"
- android:textStyle="bold"
- android:textSize="11sp"
- android:textColor="@color/gadget_when"
- android:singleLine="true"
- />
-
- <TextView
- android:id="@+id/secondary_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="8px"
- android:textSize="11sp"
- android:textColor="@color/gadget_title"
- android:singleLine="true"
- />
-
- </LinearLayout>
-
- <LinearLayout
- android:id="@+id/primary_card"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:paddingLeft="3px"
- android:paddingRight="3px"
- android:paddingTop="3px"
- android:paddingBottom="8px"
- android:background="@drawable/bg_calendar_primary"
- android:orientation="vertical"
- android:visibility="gone"
- >
-
- <TextView
- android:id="@+id/when"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingRight="64px"
- android:paddingLeft="8px"
- android:paddingTop="1px"
- android:paddingBottom="1px"
- android:gravity="center_vertical"
- android:background="@drawable/strip_cal"
- android:textStyle="bold"
- android:textSize="11sp"
- android:textColor="@color/gadget_when"
- android:singleLine="true"
- />
-
- <TextView
- android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingRight="64px"
- android:paddingLeft="8px"
- android:textStyle="bold"
- android:textSize="16sp"
- android:textColor="@color/gadget_title"
- android:singleLine="true"
- />
-
- <TextView
- android:id="@+id/where"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingRight="64px"
- android:paddingLeft="8px"
- android:textSize="11sp"
- android:textColor="@color/gadget_where"
- android:singleLine="true"
- />
-
- <ImageView
- android:id="@+id/divider"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="4px"
- android:layout_marginBottom="2px"
- android:layout_marginLeft="16px"
- android:layout_marginRight="16px"
- android:background="@drawable/white_list_rule_cal"
- />
-
- <TextView
- android:id="@+id/title2"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingRight="64px"
- android:paddingLeft="8px"
- android:textStyle="bold"
- android:textSize="11sp"
- android:textColor="@color/gadget_title"
- android:singleLine="true"
- />
-
- </LinearLayout>
-
- <ImageView
- android:id="@+id/icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
- android:layout_marginRight="8px"
- android:src="@drawable/app_icon_blank"
- android:visibility="gone"
- />
-
-</RelativeLayout>
-
diff --git a/res/layout/ics_import_activity.xml b/res/layout/ics_import_activity.xml
deleted file mode 100644
index f994f1c5..00000000
--- a/res/layout/ics_import_activity.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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.
--->
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/event_background" >
-
- <LinearLayout android:id="@+id/import_ics"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <TextView android:id="@+id/num_events_label"
- android:text="@string/num_events"
- android:gravity="right|top"
- android:paddingRight="10dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
-
- <TextView android:id="@+id/num_events"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- <LinearLayout android:id="@+id/calendar_row"
- android:orientation="horizontal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
-
- <ImageView android:id="@+id/calendar_icon"
- android:layout_marginTop="4dip"
- android:layout_marginRight="10dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/sym_calendar_event" />
-
- <Spinner android:id="@+id/calendars"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_column="1">
-
- <Button android:id="@+id/import_button"
- android:layout_marginTop="8dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/import_label" />
-
- <Button android:id="@+id/cancel_button"
- android:layout_marginTop="8dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@android:string/cancel" />
- </LinearLayout>
- </LinearLayout>
-</ScrollView>
diff --git a/res/layout/month_activity.xml b/res/layout/month_activity.xml
deleted file mode 100644
index fe9c6512..00000000
--- a/res/layout/month_activity.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-<?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/month_container"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
-
- <RelativeLayout
- android:layout_width="fill_parent"
- android:layout_height="?android:attr/windowTitleSize"
- style="?android:attr/windowTitleBackgroundStyle">
-
- <TextView android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- style="?android:attr/windowTitleStyle"
- android:background="@null"
- android:fadingEdge="horizontal"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- />
-
- <ProgressBar android:id="@+id/progress_circular"
- style="?android:attr/progressBarStyleSmall"
- android:visibility="gone"
- android:max="10000"
- android:layout_centerVertical="true"
- android:layout_alignParentRight="true"
- android:layout_marginLeft="6dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </RelativeLayout>
-
- <LinearLayout android:id="@+id/day_names"
- android:orientation="horizontal"
- android:background="@color/daynames_background"
- android:layout_width="fill_parent"
- android:layout_height="23dip" >
-
- <TextView android:id="@+id/day0"
- style="@style/MonthView_DayLabel" />
- <TextView android:id="@+id/day1"
- style="@style/MonthView_DayLabel" />
- <TextView android:id="@+id/day2"
- style="@style/MonthView_DayLabel" />
- <TextView android:id="@+id/day3"
- style="@style/MonthView_DayLabel" />
- <TextView android:id="@+id/day4"
- style="@style/MonthView_DayLabel" />
- <TextView android:id="@+id/day5"
- style="@style/MonthView_DayLabel" />
- <TextView android:id="@+id/day6"
- style="@style/MonthView_DayLabel" />
- </LinearLayout>
-
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:background="@android:drawable/divider_horizontal_dark" />
-
- <ViewSwitcher android:id="@+id/switcher"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
-</LinearLayout>
diff --git a/res/layout/month_bubble.xml b/res/layout/month_bubble.xml
deleted file mode 100644
index 9cd6c5d3..00000000
--- a/res/layout/month_bubble.xml
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2008 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/bubble_layout"
- android:orientation="vertical"
- android:paddingTop="5dip"
- android:paddingLeft="10dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
-
- <TableLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:shrinkColumns="1">
-
- <TableRow android:id="@+id/item_layout0">
- <TextView android:id="@+id/time0"
- android:paddingRight="10dip"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- <TextView android:id="@+id/event_title0"
- android:singleLine="true"
- android:ellipsize="end"
- android:textStyle="bold"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
- </TableRow>
-
- <TableRow android:id="@+id/item_layout1">
- <TextView android:id="@+id/time1"
- android:paddingRight="10dip"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- <TextView android:id="@+id/event_title1"
- android:singleLine="true"
- android:ellipsize="end"
- android:textStyle="bold"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
- </TableRow>
-
- <TableRow android:id="@+id/item_layout2">
- <TextView android:id="@+id/time2"
- android:paddingRight="10dip"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- <TextView android:id="@+id/event_title2"
- android:singleLine="true"
- android:ellipsize="end"
- android:textStyle="bold"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
- </TableRow>
-
- <TableRow android:id="@+id/item_layout3">
- <TextView android:id="@+id/time3"
- android:paddingRight="10dip"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- <TextView android:id="@+id/event_title3"
- android:singleLine="true"
- android:ellipsize="end"
- android:textStyle="bold"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
- </TableRow>
- </TableLayout>
-
- <TextView android:id="@+id/plus_more"
- android:singleLine="true"
- android:textStyle="bold"
- android:textColor="@color/panel_text_foreground"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-</LinearLayout>
diff --git a/res/layout/week_activity.xml b/res/layout/week_activity.xml
deleted file mode 100644
index 93b3ce18..00000000
--- a/res/layout/week_activity.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?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:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
-
- <RelativeLayout
- android:layout_width="fill_parent"
- android:layout_height="?android:attr/windowTitleSize"
- style="?android:attr/windowTitleBackgroundStyle">
-
- <TextView android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- style="?android:attr/windowTitleStyle"
- android:background="@null"
- android:fadingEdge="horizontal"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- />
-
- <ProgressBar android:id="@+id/progress_circular"
- style="?android:attr/progressBarStyleSmall"
- android:visibility="gone"
- android:max="10000"
- android:layout_centerVertical="true"
- android:layout_alignParentRight="true"
- android:layout_marginLeft="6dip"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </RelativeLayout>
-
- <ViewSwitcher android:id="@+id/switcher"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
-</LinearLayout>