• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2012 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
19<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/between_chrome"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    android:background="@color/conversation_list_background_color">
24
25    <com.android.mail.ui.MailSwipeRefreshLayout
26        android:id="@+id/swipe_refresh_widget"
27        android:layout_width="match_parent"
28        android:layout_height="match_parent">
29
30        <FrameLayout
31            android:id="@+id/conversation_list_parent_frame"
32            android:layout_width="match_parent"
33            android:layout_height="match_parent"
34            android:clickable="true">
35
36            <!-- Note: intentionally not called "empty" because we call
37             setEmptyView programmatically-->
38            <!-- Offset by height of undo bar and action bar -->
39            <include layout="@layout/conversation_list_empty_view" />
40
41            <include layout="@layout/security_hold_view" />
42
43            <com.android.mail.ui.SwipeableListView
44                android:id="@+id/conversation_list_view"
45                android:layout_width="match_parent"
46                android:layout_height="match_parent"
47                style="@style/ConversationListFade" />
48
49            <ProgressBar
50                android:id="@+id/conversation_list_loading_view"
51                android:layout_width="wrap_content"
52                android:layout_height="wrap_content"
53                android:indeterminate="true"
54                android:indeterminateBehavior="repeat"
55                android:layout_gravity="center"
56                android:visibility="gone"
57                style="?android:attr/progressBarStyle" />
58
59        </FrameLayout>
60
61    </com.android.mail.ui.MailSwipeRefreshLayout>
62
63</RelativeLayout>
64