summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp
diff options
context:
space:
mode:
authorPaul Westbrook <pwestbro@google.com>2012-04-10 11:53:47 -0700
committerPaul Westbrook <pwestbro@google.com>2012-04-11 22:22:19 -0700
commit2d50bcdca57756ecad20d21da0d936243215b79c (patch)
tree390b4b52742fcce46023fe32680e97120d223aef /res/layout-sw600dp
parent8aa71e0f137b95c75fa71a93a0be2e594181e8e7 (diff)
downloadandroid_packages_apps_UnifiedEmail-2d50bcdca57756ecad20d21da0d936243215b79c.tar.gz
android_packages_apps_UnifiedEmail-2d50bcdca57756ecad20d21da0d936243215b79c.tar.bz2
android_packages_apps_UnifiedEmail-2d50bcdca57756ecad20d21da0d936243215b79c.zip
Support for unintialized accounts
This is the initial CL for support for a "wait fragment" A subsequent CL will make clicking on the buttons in the Manual sync case work Change-Id: I7f1ca27eb8792aaa94d354b2753d37783a72b309
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r--res/layout-sw600dp/wait_for_manual_sync.xml62
-rw-r--r--res/layout-sw600dp/wait_for_sync.xml63
2 files changed, 125 insertions, 0 deletions
diff --git a/res/layout-sw600dp/wait_for_manual_sync.xml b/res/layout-sw600dp/wait_for_manual_sync.xml
new file mode 100644
index 000000000..237cd50e9
--- /dev/null
+++ b/res/layout-sw600dp/wait_for_manual_sync.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2012 Google Inc.
+ Licensed to 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:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:background="@android:color/white">
+
+ <TextView
+ style="@style/WaitFragmentTitle"
+ android:text="@string/not_synced_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="32dip"
+ android:gravity="center"/>
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/wait_for_manual_sync_body"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingTop="32dip"
+ android:lineSpacingExtra="16dip"
+ android:gravity="center" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingTop="48dip"
+ android:gravity="center">
+
+ <Button android:id="@+id/manual_sync"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/manual_sync" />
+
+ <Button android:id="@+id/change_sync_settings"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/change_sync_settings"
+ android:layout_marginLeft="46dip" />
+
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout-sw600dp/wait_for_sync.xml b/res/layout-sw600dp/wait_for_sync.xml
new file mode 100644
index 000000000..d51990299
--- /dev/null
+++ b/res/layout-sw600dp/wait_for_sync.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2012 Google Inc.
+ Licensed to 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:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:background="@android:color/white"
+ android:layout_gravity="center" >
+
+ <RelativeLayout android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:id="@+id/wait_for_sync_wrapper"
+ android:visibility="visible" >
+
+ <ProgressBar
+ android:indeterminate="true"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="32dip"
+ android:id="@+id/progress_spinner"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:paddingTop="32dip" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/wait_for_sync_title"
+ style="@style/WaitFragmentTitle"
+ android:paddingLeft="48dip"
+ android:paddingTop="32dip"
+ android:id="@+id/wait_for_sync_title"
+ android:layout_toRightOf="@id/progress_spinner" />
+
+ <TextView
+ android:paddingLeft="128dip"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/wait_for_sync_body"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingTop="32dip"
+ android:lineSpacingExtra="16dip"
+ android:layout_below="@id/wait_for_sync_title" />
+ </RelativeLayout>
+
+</RelativeLayout> \ No newline at end of file