Moves per calendar sync settings into Settings

This makes calendar sync settings show up on a per account basis
in the Calendar Settings activity and also displays a message to
the user if the account is not being auto-synced.

Change-Id: I2326922f518ae3bc8d1db70ae5c1d5b07b251ca3
diff --git a/res/layout/account_calendars.xml b/res/layout/account_calendars.xml
new file mode 100644
index 0000000..86b01f8
--- /dev/null
+++ b/res/layout/account_calendars.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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="match_parent"
+    android:layout_height="match_parent"
+    android:fillViewport="true">
+
+    <TextView android:id="@+id/account_status"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        style="?android:attr/textAppearanceMedium" />
+
+    <Button android:id="@+id/sync_settings"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:gravity="left|center_vertical"
+        android:text="@android:string/ok" />
+
+    <include android:id="@+id/calendar_list" layout="@android:layout/list_content"/>
+
+</LinearLayout>