Vikram Aggarwal | b9e1a35 | 2012-01-24 15:23:38 -0800 | [diff] [blame] | 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 |
| 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 Aggarwal | 8b15263 | 2012-02-03 14:58:45 -0800 | [diff] [blame] | 47 | <com.android.mail.ui.UndoBarView |
Vikram Aggarwal | b9e1a35 | 2012-01-24 15:23:38 -0800 | [diff] [blame] | 48 | android:layout_width="match_parent" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:visibility="gone" |
Mindy Pereira | dee311b | 2012-02-22 09:10:46 -0800 | [diff] [blame] | 51 | android:alpha="0" |
Vikram Aggarwal | b9e1a35 | 2012-01-24 15:23:38 -0800 | [diff] [blame] | 52 | android:id="@+id/undo_view" |
| 53 | android:layout_alignParentBottom="true"> |
| 54 | <include layout="@layout/undo_bar"/> |
Vikram Aggarwal | 8b15263 | 2012-02-03 14:58:45 -0800 | [diff] [blame] | 55 | </com.android.mail.ui.UndoBarView> |
Vikram Aggarwal | b9e1a35 | 2012-01-24 15:23:38 -0800 | [diff] [blame] | 56 | </RelativeLayout> |