391b9d4abd
- adds a loading state to search so the user isn't left with a blank screen for several seconds - adds a timeout so that a warning message is shown for results that take over 10 seconds - use default loading/no message views in ListFragment so we don't have to manager our own stuff Bug: 5014107 Bug: 5037618 Change-Id: I8b03fa0967055989156c7777901affc777c4fae7
41 lines
1.3 KiB
XML
41 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2010 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.
|
|
-->
|
|
|
|
<!--
|
|
The default ListFragment layout (include) + the "send outgoing message" button.
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
|
|
<!-- Search header is dynamically inserted here for search results -->
|
|
|
|
<include
|
|
layout="@android:layout/list_content"
|
|
android:id="@+id/list_panel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dip"
|
|
android:layout_weight="1"
|
|
/>
|
|
|
|
<!-- Message list error overlays are dynamically inserted here -->
|
|
|
|
</LinearLayout>
|