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_alignParentStart="true" 30 android:contentDescription ="@string/bluetooth_map_settings_app_icon" 31 android:scaleType="center" 32 /> 33 34 <TextView android:id="@+id/transfer_title" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:maxLines="1" 38 android:layout_alignParentTop="true" 39 android:layout_toEndOf="@id/transfer_icon" 40 android:textAppearance="?android:attr/textAppearanceMedium" 41 /> 42 43 <TextView android:id="@+id/targetdevice" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:layout_toEndOf="@id/transfer_icon" 47 android:layout_below="@id/transfer_title" 48 android:maxLines="1" 49 android:textAppearance="?android:attr/textAppearanceSmall" 50 /> 51 52 <TextView android:id="@+id/complete_date" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:maxLines="1" 56 android:textAppearance="?android:attr/textAppearanceSmall" 57 android:layout_below="@id/targetdevice" 58 android:layout_alignParentEnd="true" 59 android:paddingStart="10dip" 60 android:visibility="gone" 61 /> 62 63 <TextView android:id="@+id/complete_text" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 android:layout_below="@id/targetdevice" 67 android:layout_toEndOf="@id/transfer_icon" 68 android:layout_toStartOf="@id/complete_date" 69 android:textDirection="locale" 70 android:textAppearance="?android:attr/textAppearanceSmall" 71 android:visibility="gone" 72 /> 73 </RelativeLayout> 74 75