9c293eb65a
Show this when there's no messages, and no "Load more messages" footer. i.e. Only Outbox, Drafts, and exchange mailboxes can show "No messages". Also removed an obsolete comment. Bug 2363624 Change-Id: If483d33cfacb186d0fe54b4f4382333a332be84c
59 lines
2.1 KiB
XML
59 lines
2.1 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.
|
|
-->
|
|
|
|
<FrameLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
<TextView
|
|
android:id="@+id/no_messages_panel"
|
|
android:text="@string/message_list_no_messages"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:visibility="gone"
|
|
/>
|
|
<LinearLayout
|
|
android:id="@+id/list_panel"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
<LinearLayout
|
|
android:id="@+id/send_panel"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
>
|
|
|
|
<Button
|
|
android:id="@+id/send_messages"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/message_list_send_pending_messages_action" />
|
|
|
|
</LinearLayout>
|
|
|
|
<include layout="@android:layout/list_content" />
|
|
</LinearLayout>
|
|
</FrameLayout> |