| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2012 Google Inc. |
| Licensed to The Android Open Source Project. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <RelativeLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/between_chrome" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <include layout="@layout/search_results_view"/> |
| |
| <android.support.v4.widget.SwipeRefreshLayout |
| android:id="@+id/swipe_refresh_widget" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| <FrameLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:clickable="true"> |
| <!-- Note: intentionally not called "empty" because we call |
| setEmptyView programmatically--> |
| <!-- Offset by height of undo bar and action bar --> |
| <com.android.mail.ui.EmptyConversationListView |
| android:id="@+id/empty_view" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginTop="@dimen/empty_view_top_padding" |
| android:gravity="center" |
| android:textAppearance="?android:attr/textAppearanceLarge" |
| android:text="@string/no_conversations" |
| android:visibility="gone"/> |
| <com.android.mail.ui.SwipeableListView |
| android:id="@android:id/list" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_alignParentTop="true" |
| android:fadingEdge="none" |
| style="@style/ConversationListFade" /> |
| </FrameLayout> |
| </android.support.v4.widget.SwipeRefreshLayout> |
| </RelativeLayout> |