blob: 2909cdb5320fbd6e4755b8f27af8ba104deab823 [file] [log] [blame]
Mindy Pereira6681f6b2012-03-09 13:55:54 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (c) 2007 Google Inc.
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-->
19
20<com.android.mail.browse.ConversationListFooterView
21 xmlns:android="http://schemas.android.com/apk/res/android"
22 android:orientation="horizontal"
23 android:layout_width="match_parent"
Mindy Pereira866d3192012-03-26 09:50:00 -070024 android:layout_height="wrap_content"
25 android:background="@android:color/white">
Mindy Pereira6681f6b2012-03-09 13:55:54 -080026
27 <LinearLayout android:id="@+id/network_error"
28 android:layout_width="match_parent"
29 android:layout_height="?android:attr/listPreferredItemHeight"
30 android:padding="5dip"
31 android:visibility="gone"
32 android:gravity="center_vertical">
33
34 <ImageView
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
Andrew Sapperstein5d420962012-07-12 16:43:10 -070037 android:src="@drawable/ic_alert_grey" />
Mindy Pereira6681f6b2012-03-09 13:55:54 -080038
39 <TextView android:id="@+id/error_text"
40 android:layout_width="0dip"
41 android:layout_height="wrap_content"
42 android:layout_weight="1"
43 android:textAppearance="?android:attr/textAppearanceLargeInverse"
44 android:layout_marginBottom="1dip"
45 android:paddingLeft="5dip"
46 android:textColor="@android:color/black"
47 android:text="@string/network_error"/>
48
Andrew Sapperstein00179f12012-08-09 15:15:40 -070049 <Button android:id="@+id/error_action_button"
Mindy Pereira6681f6b2012-03-09 13:55:54 -080050 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 style="?android:attr/buttonStyleSmall"
53 android:textColor="@android:color/black"
Mindy Pereira6681f6b2012-03-09 13:55:54 -080054 android:paddingTop="15dip"
55 android:paddingBottom="15dip"
56 android:paddingLeft="20dip"
57 android:paddingRight="20dip"/>
58
59 </LinearLayout>
60
61 <LinearLayout android:id="@+id/loading"
62 android:layout_width="match_parent"
63 android:layout_height="?android:attr/listPreferredItemHeight"
64 android:gravity="center"
65 android:visibility="gone">
66
67 <ProgressBar
68 style="?android:attr/progressBarStyle"
69 android:indeterminate="true"
70 android:layout_width="32dp"
71 android:layout_height="32dp" />
72
Mindy Pereira6681f6b2012-03-09 13:55:54 -080073 </LinearLayout>
Mindy Pereira11dd5ef2012-03-10 15:10:18 -080074 <LinearLayout android:id="@+id/load_more"
75 android:layout_width="match_parent"
76 android:layout_height="?android:attr/listPreferredItemHeight"
77 android:gravity="center"
78 android:visibility="gone"
79 android:clickable="true"
80 android:background="?android:attr/selectableItemBackground">
Mindy Pereira6681f6b2012-03-09 13:55:54 -080081
Mindy Pereira11dd5ef2012-03-10 15:10:18 -080082 <TextView
83 android:layout_width="wrap_content"
84 android:layout_height="wrap_content"
85 android:textAppearance="?android:attr/textAppearanceLargeInverse"
86 android:layout_marginBottom="1dip"
87 android:paddingLeft="5dip"
88 android:textColor="@android:color/black"
89 android:text="@string/load_more"/>
90
91 </LinearLayout>
Mindy Pereira6681f6b2012-03-09 13:55:54 -080092</com.android.mail.browse.ConversationListFooterView>