am d767a762: Fixup wait activity screen to look like Gmail.

* commit 'd767a7625ffe7a7aa480f73830264639f8043b6d':
  Fixup wait activity screen to look like Gmail.
This commit is contained in:
Mindy Pereira 2011-11-28 11:15:52 -08:00 committed by Android Git Automerger
commit 7210bf71f4

View File

@ -13,41 +13,44 @@
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="@+id/waiting_for_sync_message"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dip"
>
android:background="@android:color/white"
android:id="@+id/waiting_for_sync_message">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|top"
>
android:gravity="center"
android:id="@+id/wait_for_sync_wrapper"
android:layout_marginTop="16dip"
android:layout_marginLeft="16dip">
<ProgressBar
android:id="@+id/progress"
android:indeterminate="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginRight="8dip"
/>
android:id="@+id/progress_spinner"/>
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/progress"
android:textAppearance="?android:attr/textAppearanceMedium"
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:layout_toRightOf="@+id/progress"
android:layout_below="@+id/title"
android:textAppearance="?android:attr/textAppearanceSmall"
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>
</FrameLayout>