1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** 5** Copyright 2010, The Android Open Source Project 6** 7** Licensed under the Apache License, Version 2.0 (the "License"); 8** you may not use this file except in compliance with the License. 9** You may obtain a copy of the License at 10** 11** http://www.apache.org/licenses/LICENSE-2.0 12** 13** Unless required by applicable law or agreed to in writing, software 14** distributed under the License is distributed on an "AS IS" BASIS, 15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16** See the License for the specific language governing permissions and 17** limitations under the License. 18*/ 19--> 20 21<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 22 android:layout_width="fill_parent" 23 android:layout_height="wrap_content"> 24 25 <ImageView android:id="@+id/transfer_icon" 26 android:layout_width="@android:dimen/app_icon_size" 27 android:layout_height="@android:dimen/app_icon_size" 28 android:layout_alignParentTop="true" 29 android:layout_alignParentLeft="true" 30 android:scaleType="center" 31 /> 32 33 <TextView android:id="@+id/transfer_title" 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:maxLines="1" 37 android:layout_alignParentTop="true" 38 android:layout_toRightOf="@id/transfer_icon" 39 android:textAppearance="?android:attr/textAppearanceMedium" 40 /> 41 42 <TextView android:id="@+id/targetdevice" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:layout_toRightOf="@id/transfer_icon" 46 android:layout_below="@id/transfer_title" 47 android:maxLines="1" 48 android:textAppearance="?android:attr/textAppearanceSmall" 49 /> 50 51 <TextView android:id="@+id/complete_date" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:maxLines="1" 55 android:textAppearance="?android:attr/textAppearanceSmall" 56 android:layout_below="@id/targetdevice" 57 android:layout_alignParentRight="true" 58 android:visibility="gone" 59 /> 60 61 <TextView android:id="@+id/complete_text" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:layout_below="@id/targetdevice" 65 android:layout_toRightOf="@id/transfer_icon" 66 android:layout_toLeftOf="@id/complete_date" 67 android:textAppearance="?android:attr/textAppearanceSmall" 68 android:visibility="gone" 69 /> 70</RelativeLayout> 71 72