blob: a9eeb1823f6574ddfaa2acdbd5e3190b3796963b [file] [log] [blame]
Vikram Aggarwalb9e1a352012-01-24 15:23:38 -08001<?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
Jin Caoaf9dc292014-07-25 15:33:32 -070019<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Vikram Aggarwalb9e1a352012-01-24 15:23:38 -080020 android:id="@+id/between_chrome"
21 android:layout_width="match_parent"
Andy Huang370f8682013-04-09 12:44:44 -070022 android:layout_height="match_parent">
Vikram Aggarwalb9e1a352012-01-24 15:23:38 -080023
Andrew Sappersteinb6910bd2014-02-13 09:52:19 -080024 <com.android.mail.ui.MailSwipeRefreshLayout
Mindy Pereira4bb435c2013-11-13 14:21:15 -080025 android:id="@+id/swipe_refresh_widget"
Alice Yang65f879b2013-04-29 17:25:26 -070026 android:layout_width="match_parent"
27 android:layout_height="match_parent">
Jin Caoaf9dc292014-07-25 15:33:32 -070028
Mindy Pereira3884aab2013-12-11 10:18:13 -080029 <FrameLayout
Jin Cao5cf73b82014-04-25 11:13:51 -070030 android:id="@+id/conversation_list_parent_frame"
Alice Yang65f879b2013-04-29 17:25:26 -070031 android:layout_width="match_parent"
32 android:layout_height="match_parent"
Mindy Pereira3884aab2013-12-11 10:18:13 -080033 android:clickable="true">
Jin Caoaf9dc292014-07-25 15:33:32 -070034
Mindy Pereira3884aab2013-12-11 10:18:13 -080035 <!-- Note: intentionally not called "empty" because we call
36 setEmptyView programmatically-->
37 <!-- Offset by height of undo bar and action bar -->
Andrew Sappersteina44b0ed2014-02-12 18:56:37 -080038 <include layout="@layout/conversation_list_empty_view" />
Jin Caoaf9dc292014-07-25 15:33:32 -070039
Martin Hibdon469817c2014-09-11 16:07:18 -070040 <include layout="@layout/security_hold_view" />
41
Mindy Pereira3884aab2013-12-11 10:18:13 -080042 <com.android.mail.ui.SwipeableListView
Jin Cao5b317922014-08-05 17:28:28 -070043 android:id="@+id/conversation_list_view"
Mindy Pereira3884aab2013-12-11 10:18:13 -080044 android:layout_width="match_parent"
45 android:layout_height="match_parent"
Mindy Pereira3884aab2013-12-11 10:18:13 -080046 style="@style/ConversationListFade" />
Jin Caoaf9dc292014-07-25 15:33:32 -070047
Andy Huang0ef5cb22014-04-09 19:22:39 -070048 <include layout="@layout/conversation_load_spinner" />
Jin Caoaf9dc292014-07-25 15:33:32 -070049
Mindy Pereira3884aab2013-12-11 10:18:13 -080050 </FrameLayout>
Jin Caoaf9dc292014-07-25 15:33:32 -070051
Andrew Sappersteinb6910bd2014-02-13 09:52:19 -080052 </com.android.mail.ui.MailSwipeRefreshLayout>
Jin Caoaf9dc292014-07-25 15:33:32 -070053
Vikram Aggarwalb9e1a352012-01-24 15:23:38 -080054</RelativeLayout>