blob: b466e518d4e3fb927b1a343d3127bcd7561abe90 [file] [log] [blame]
Martin Hibdonaaca6132014-03-24 11:28:14 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 Google Inc.
4 Licensed to The Android Open Source Project.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17-->
18<LinearLayout
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:id="@+id/loading_view"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 android:gravity="center"
24 android:orientation="vertical"
Andrew Sappersteina5e007f2014-04-22 16:54:13 -070025 android:background="@color/loading_messages_background_color">
Martin Hibdonaaca6132014-03-24 11:28:14 -070026
27 <ImageView
28 android:id="@+id/loading_icon"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:src="@drawable/ic_empty_mail_big"/>
32 <TextView
33 android:id="@+id/loading_text"
34 android:layout_width="@dimen/empty_view_text_width"
35 android:layout_height="wrap_content"
36 android:layout_marginTop="@dimen/empty_view_space"
37 android:fontFamily="sans-serif-light"
38 android:textAlignment="center"
39 android:textColor="#80000000"
40 android:textSize="@dimen/empty_view_text_size"
41 android:text="@string/getting_messages" />
42 <com.android.mail.ui.ButteryProgressBar
43 android:layout_marginTop="@dimen/empty_view_space"
44 android:layout_width="@dimen/empty_view_text_width"
45 android:layout_height="@dimen/progress_bar_height" />
46
47</LinearLayout>