blob: 87ce2826e2d8d63316b6cf59cb4da4031120697d [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
19<RelativeLayout
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/between_chrome"
22 android:layout_width="match_parent"
23 android:layout_height="match_parent" >
24
25 <!-- Note: intentionally not called "empty" because we call
26 setEmptyView programmatically-->
27 <!-- Offset by height of undo bar and action bar -->
28 <TextView
29 android:id="@+id/empty_view"
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 android:gravity="center"
33 android:textAppearance="?android:attr/textAppearanceLarge"
34 android:text="@string/no_conversations"
35 android:layout_marginTop="@dimen/empty_view_top_padding"
36 android:visibility="gone" />
37
38 <include layout="@layout/search_results_view"/>
39
40 <ListView android:id="@android:id/list"
41 style="@style/ConversationListFade"
42 android:layout_width="match_parent"
43 android:layout_height="match_parent"
44 android:fadingEdge="none"
45 android:layout_alignParentTop="true"/>
46
Vikram Aggarwal8b152632012-02-03 14:58:45 -080047 <com.android.mail.ui.UndoBarView
Vikram Aggarwalb9e1a352012-01-24 15:23:38 -080048 android:layout_width="match_parent"
49 android:layout_height="wrap_content"
50 android:visibility="gone"
Mindy Pereiradee311b2012-02-22 09:10:46 -080051 android:alpha="0"
Vikram Aggarwalb9e1a352012-01-24 15:23:38 -080052 android:id="@+id/undo_view"
53 android:layout_alignParentBottom="true">
54 <include layout="@layout/undo_bar"/>
Vikram Aggarwal8b152632012-02-03 14:58:45 -080055 </com.android.mail.ui.UndoBarView>
Vikram Aggarwalb9e1a352012-01-24 15:23:38 -080056</RelativeLayout>