blob: 55f33106953d13bfe468675eaf164c30632e4f9d [file] [log] [blame]
Andy Huang88fc42e2012-03-08 15:02:43 -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-->
Andy Huangf0e95c32012-04-02 18:11:17 -070018<com.android.mail.browse.MessageFooterView
19 xmlns:android="http://schemas.android.com/apk/res/android"
Andy Huang88fc42e2012-03-08 15:02:43 -080020 android:id="@+id/attachments"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
Mark Wei6d15a752012-10-02 16:50:54 -070023 android:orientation="vertical"
Andrew Sappersteinca4f9472013-09-18 17:40:56 -070024 style="@style/ConversationViewSideMarginStyle" >
Andrew Sappersteinf59d01c2014-02-20 10:27:06 -080025
26 <TextView
27 android:id="@+id/view_entire_message_prompt"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:background="?android:attr/selectableItemBackground"
31 android:paddingTop="12dp"
32 android:paddingBottom="12dp"
33 android:paddingLeft="@dimen/conversation_message_content_margin_side"
34 android:paddingRight="@dimen/conversation_message_content_margin_side"
35 android:text="@string/view_entire_message"
36 android:textColor="@color/conv_header_text_link_blue"
37 android:textSize="14sp"
38 android:visibility="gone" />
39
Andrew Sappersteine4798f52012-06-05 15:08:33 -070040 <TextView
41 android:id="@+id/attachments_header_text"
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
Andrew Sapperstein14f93742013-07-25 14:29:56 -070044 android:layout_marginBottom="16dp"
Andrew Sappersteine4798f52012-06-05 15:08:33 -070045 android:text="@string/attachments_header"
Andrew Sappersteine4798f52012-06-05 15:08:33 -070046 android:visibility="gone"
Andrew Sappersteinca4f9472013-09-18 17:40:56 -070047 style="@style/MessageAttachmentsHeaderStyle" />
Andrew Sapperstein14f93742013-07-25 14:29:56 -070048
Andrew Sapperstein237129d2012-06-15 11:46:30 -070049 <com.android.mail.ui.AttachmentTileGrid
Andrew Sappersteine4798f52012-06-05 15:08:33 -070050 android:id="@+id/attachment_tile_grid"
51 android:layout_width="match_parent"
52 android:layout_height="wrap_content"
53 android:visibility="gone"
Andrew Sappersteinca4f9472013-09-18 17:40:56 -070054 style="@style/AttachmentMarginStyle" />
Andrew Sappersteinf59d01c2014-02-20 10:27:06 -080055
Andrew Sapperstein381c3222014-04-20 12:23:57 -070056 <include
57 layout="@layout/above_attachment_bar_list_layout"
58 android:id="@+id/above_attachment_bar_list_layout"/>
59
Andrew Sapperstein4aa1c132012-06-08 17:53:41 -070060 <LinearLayout
61 android:id="@+id/attachment_bar_list"
62 android:layout_width="match_parent"
63 android:layout_height="wrap_content"
64 android:visibility="gone"
Andrew Sappersteinca4f9472013-09-18 17:40:56 -070065 android:orientation="vertical"
66 style="@style/AttachmentMarginStyle" />
Andrew Sapperstein14f93742013-07-25 14:29:56 -070067
Andy Huangf0e95c32012-04-02 18:11:17 -070068</com.android.mail.browse.MessageFooterView>