replicant-packages_apps_Email/res/layout/waiting_for_sync_message.xml
Mindy Pereira d767a7625f Fixup wait activity screen to look like Gmail.
Fixes b/5642479 "Waiting for sync" in ugly font

Change-Id: I61ea9b296eb7f64c80f8992c77724fc02a978d38
2011-11-28 11:04:54 -08:00

57 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 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:background="@android:color/white"
android:id="@+id/waiting_for_sync_message">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:id="@+id/wait_for_sync_wrapper"
android:layout_marginTop="16dip"
android:layout_marginLeft="16dip">
<ProgressBar
android:indeterminate="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/progress_spinner"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/waitinf_for_sync_message_1"
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/title"
android:layout_toRightOf="@id/progress_spinner"
android:layout_marginLeft="4dip" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/waitinf_for_sync_message_2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_below="@id/title"
android:layout_toRightOf="@id/progress_spinner"
android:layout_marginLeft="4dip" />
</RelativeLayout>
</RelativeLayout>