2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-09-12 00:18:31 -04:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:layout_width="fill_parent"
|
2010-04-26 13:36:33 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-09-13 01:54:14 -04:00
|
|
|
android:paddingBottom="2dip"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:paddingRight="3dip"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:paddingTop="5dip" >
|
2010-04-26 13:36:33 -04:00
|
|
|
|
2010-01-16 23:20:39 -05:00
|
|
|
<RelativeLayout
|
2012-09-13 00:31:21 -04:00
|
|
|
android:id="@+id/chip_wrapper"
|
|
|
|
android:layout_width="36dip"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" >
|
2010-04-26 13:36:33 -04:00
|
|
|
|
2012-09-12 00:18:31 -04:00
|
|
|
<View
|
|
|
|
android:id="@+id/chip"
|
|
|
|
android:layout_width="16dip"
|
|
|
|
android:layout_height="16dip"
|
|
|
|
android:layout_alignParentTop="true"
|
2012-09-13 17:05:58 -04:00
|
|
|
android:layout_marginTop="5dip"
|
2012-09-13 00:31:21 -04:00
|
|
|
android:gravity="center"
|
|
|
|
android:layout_marginLeft="10dip"
|
|
|
|
android:layout_marginRight="10dip"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:background="@android:color/transparent" />
|
2012-09-13 17:05:58 -04:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/flagged"
|
|
|
|
android:button="@drawable/star"
|
|
|
|
android:layout_width="36dip"
|
|
|
|
android:layout_marginLeft="7dip"
|
|
|
|
android:layout_marginRight="4dip"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:gravity="top|center"
|
|
|
|
android:focusable="false"
|
|
|
|
/>
|
2012-09-10 11:51:34 -04:00
|
|
|
|
2012-09-13 00:31:21 -04:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/selected_checkbox"
|
|
|
|
android:layout_width="36dip"
|
|
|
|
android:layout_below="@+id/chip"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:focusable="false"
|
|
|
|
android:gravity="bottom|center"
|
|
|
|
android:visibility="visible" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2012-09-10 11:51:34 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginBottom="1dip"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:layout_marginLeft="1dip"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:layout_toLeftOf="@+id/date"
|
2012-09-13 00:31:21 -04:00
|
|
|
android:layout_toRightOf="@+id/chip_wrapper"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:ellipsize="marquee"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
2012-09-10 11:51:34 -04:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/preview"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-09-13 00:31:21 -04:00
|
|
|
android:layout_toRightOf="@+id/chip_wrapper"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:layout_below="@+id/subject"
|
|
|
|
android:layout_marginLeft="1dip"
|
2012-09-13 01:54:14 -04:00
|
|
|
android:layout_marginBottom="3dip"
|
|
|
|
android:layout_marginRight="16dip"
|
2012-09-13 17:05:58 -04:00
|
|
|
android:layout_alignParentRight="true"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:bufferType="spannable"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:singleLine="false"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignTop="@+id/subject"
|
2012-09-13 01:54:14 -04:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:paddingLeft="3dip"
|
|
|
|
android:layout_marginRight="2dip"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
|
2012-09-13 01:54:14 -04:00
|
|
|
|
2012-09-10 11:51:34 -04:00
|
|
|
|
2012-09-13 01:54:14 -04:00
|
|
|
<com.fsck.k9.view.ImageButtonAnchor
|
|
|
|
android:id="@+id/item_menu"
|
2012-09-13 17:05:58 -04:00
|
|
|
android:layout_width="48dp"
|
2012-09-13 01:54:14 -04:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:gravity="bottom|right"
|
|
|
|
android:layout_marginBottom="0dip"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:background="@null"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:src="?attr/iconListItemMenu" />
|
|
|
|
|
|
|
|
|
2012-09-10 11:51:34 -04:00
|
|
|
</RelativeLayout>
|