2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:layout_height="54dip"
|
|
|
|
android:paddingRight="6dip"
|
|
|
|
android:paddingTop="6dip"
|
|
|
|
android:paddingBottom="6dip">
|
2008-10-27 21:04:44 -04:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/attachment_delete"
|
|
|
|
android:src="@drawable/ic_delete"
|
|
|
|
android:layout_alignParentRight="true"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:layout_height="42dip"
|
|
|
|
android:layout_width="42dip" />
|
2008-10-27 21:04:44 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/attachment_name"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2009-04-19 05:10:32 -04:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:layout_width="1dip"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:layout_height="42dip"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:background="@drawable/text_box"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:paddingLeft="36dip"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="start"
|
|
|
|
android:gravity="center_vertical"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:layout_marginLeft="6dip"
|
|
|
|
android:layout_marginRight="4dip"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_toLeftOf="@id/attachment_delete" />
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_email_attachment"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:layout_marginLeft="1dip"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
</RelativeLayout>
|