09fd4d0a18
* Create AttachmentDownloadService to manage all attachment downloads 1) User requested 2) Required for email forwarding 3) Opportunistic downloads to enhance offline use * New attachment related UI (pending UX approval, of course) 1) MessageView (attachment actions, progress bar, etc.) 2) MessageCompose (attachments for forwarded messages) 3) Associated toasts, notifications, etc. TODO: * Unit tests * Cache Management (separate CL) Change-Id: I7864a5fb1c3f4f2be68d98341a971edc6cbacfe1
35 lines
1.3 KiB
XML
35 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.
|
|
-->
|
|
|
|
<!-- TODO: Use a theme style color for the text view -->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:padding="3dp"
|
|
>
|
|
<ImageView android:id="@+id/image"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginRight="10dp"
|
|
/>
|
|
<TextView android:id="@+id/text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:textColor="#000"
|
|
/>
|
|
</LinearLayout> |