2008-11-13 16:22:24 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2009-12-08 13:53:53 -05:00
|
|
|
android:layout_height="fill_parent"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:paddingRight="1dip"
|
2012-08-06 20:08:49 -04:00
|
|
|
android:background="#cccccc" >
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/flagged"
|
|
|
|
android:focusable="false"
|
|
|
|
android:button="@drawable/star"
|
|
|
|
android:layout_marginRight="5dip"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_height="20dip"
|
|
|
|
android:layout_width="23dip"
|
|
|
|
android:layout_alignParentRight="true" />
|
2010-01-16 23:20:39 -05:00
|
|
|
<RelativeLayout
|
2008-11-13 16:22:24 -05:00
|
|
|
android:id="@+id/chip"
|
2010-04-25 04:59:59 -04:00
|
|
|
android:background="@android:color/transparent"
|
2010-01-16 23:20:39 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginRight="2dip"
|
|
|
|
android:layout_height="20dip"
|
|
|
|
android:layout_centerVertical="true"
|
2012-08-06 20:08:49 -04:00
|
|
|
android:layout_alignParentLeft="true" >
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/selected_checkbox"
|
|
|
|
android:layout_width="12dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:button="@drawable/checkbox_small"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:focusable="false"
|
|
|
|
android:visibility="gone" />
|
|
|
|
<View
|
|
|
|
android:layout_width="4dip"
|
|
|
|
android:layout_height="fill_parent" />
|
|
|
|
</RelativeLayout>
|
2008-11-13 16:22:24 -05:00
|
|
|
<TextView
|
2009-03-13 13:51:55 -04:00
|
|
|
android:id="@+id/date"
|
2008-11-13 16:22:24 -05:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2009-03-13 13:51:55 -04:00
|
|
|
android:singleLine="true"
|
2009-04-19 20:58:50 -04:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2009-11-17 00:59:32 -05:00
|
|
|
android:layout_width="70dip"
|
2009-11-24 21:25:56 -05:00
|
|
|
android:paddingRight="3dip"
|
2008-11-13 16:22:24 -05:00
|
|
|
android:layout_height="wrap_content"
|
2009-12-08 03:05:28 -05:00
|
|
|
android:gravity="right"
|
2009-11-24 21:25:56 -05:00
|
|
|
android:layout_alignWithParentIfMissing="true"
|
2012-08-06 20:08:49 -04:00
|
|
|
android:layout_toLeftOf="@+id/flagged" />
|
2008-11-13 16:22:24 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/from"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:layout_width="110dip"
|
2008-11-13 16:22:24 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2009-04-19 20:58:50 -04:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:paddingLeft="3dip"
|
|
|
|
android:paddingRight="3dip"
|
2009-03-13 13:51:55 -04:00
|
|
|
android:layout_toLeftOf="@+id/date" />
|
2008-11-13 16:22:24 -05:00
|
|
|
<TextView
|
2009-03-13 13:51:55 -04:00
|
|
|
android:id="@+id/subject"
|
2011-06-06 19:37:22 -04:00
|
|
|
android:ellipsize="marquee"
|
2008-11-13 16:22:24 -05:00
|
|
|
android:singleLine="true"
|
2009-03-13 13:51:55 -04:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2009-04-19 20:58:50 -04:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2009-03-13 13:51:55 -04:00
|
|
|
android:layout_width="wrap_content"
|
2008-11-13 16:22:24 -05:00
|
|
|
android:layout_height="wrap_content"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:paddingLeft="10dip"
|
|
|
|
android:layout_marginRight="1dip"
|
2009-11-24 21:25:56 -05:00
|
|
|
android:layout_alignWithParentIfMissing="true"
|
2010-01-16 23:20:39 -05:00
|
|
|
android:layout_toRightOf="@+id/chip"
|
2009-03-13 13:51:55 -04:00
|
|
|
android:layout_toLeftOf="@+id/from" />
|
2008-11-13 16:22:24 -05:00
|
|
|
</RelativeLayout>
|