2008-11-13 21:22:24 +00: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 18:53:53 +00:00
|
|
|
android:layout_height="fill_parent"
|
2009-11-13 00:38:26 +00:00
|
|
|
android:paddingRight="1dip"
|
2009-12-20 16:30:55 +00:00
|
|
|
android:background="#cccccc"
|
2009-12-08 18:53:53 +00:00
|
|
|
>
|
2010-01-17 04:20:39 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/flagged"
|
|
|
|
android:focusable="false"
|
|
|
|
android:button="@drawable/star"
|
|
|
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_height="20dip"
|
|
|
|
android:layout_width="20dip"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
/>
|
|
|
|
<RelativeLayout
|
2008-11-13 21:22:24 +00:00
|
|
|
android:id="@+id/chip"
|
2010-04-25 08:59:59 +00:00
|
|
|
android:background="@android:color/transparent"
|
2010-01-17 04:20:39 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginRight="2dip"
|
|
|
|
android:layout_height="20dip"
|
|
|
|
android:layout_centerVertical="true"
|
2009-12-08 18:53:53 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2010-01-17 04:20:39 +00:00
|
|
|
>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/selected_checkbox"
|
|
|
|
android:layout_width="12dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:button="@drawable/checkbox_small"
|
|
|
|
android:layout_centerVertical="true"
|
2010-01-24 20:40:42 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2010-01-17 04:20:39 +00:00
|
|
|
android:focusable="false"
|
|
|
|
android:visibility="gone"
|
|
|
|
/>
|
2010-04-25 08:47:24 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="4dip"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
/>
|
2010-01-17 04:20:39 +00:00
|
|
|
</RelativeLayout>
|
2008-11-13 21:22:24 +00:00
|
|
|
<TextView
|
2009-03-13 17:51:55 +00:00
|
|
|
android:id="@+id/date"
|
2008-11-13 21:22:24 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2009-03-13 17:51:55 +00:00
|
|
|
android:singleLine="true"
|
2009-04-20 00:58:50 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2009-11-17 05:59:32 +00:00
|
|
|
android:layout_width="70dip"
|
2009-11-25 02:25:56 +00:00
|
|
|
android:paddingRight="3dip"
|
2008-11-13 21:22:24 +00:00
|
|
|
android:layout_height="wrap_content"
|
2009-12-08 08:05:28 +00:00
|
|
|
android:gravity="right"
|
2009-11-25 02:25:56 +00:00
|
|
|
android:layout_alignWithParentIfMissing="true"
|
2010-01-17 04:20:39 +00:00
|
|
|
android:layout_toLeftOf="@+id/flagged"/>
|
2008-11-13 21:22:24 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/from"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
2009-11-13 00:38:26 +00:00
|
|
|
android:layout_width="110dip"
|
2008-11-13 21:22:24 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2009-04-20 00:58:50 +00:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2009-11-13 00:38:26 +00:00
|
|
|
android:paddingLeft="3dip"
|
|
|
|
android:paddingRight="3dip"
|
2009-03-13 17:51:55 +00:00
|
|
|
android:layout_toLeftOf="@+id/date" />
|
2008-11-13 21:22:24 +00:00
|
|
|
<TextView
|
2009-03-13 17:51:55 +00:00
|
|
|
android:id="@+id/subject"
|
2011-06-06 23:37:22 +00:00
|
|
|
android:ellipsize="marquee"
|
2008-11-13 21:22:24 +00:00
|
|
|
android:singleLine="true"
|
2009-03-13 17:51:55 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2009-04-20 00:58:50 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2009-03-13 17:51:55 +00:00
|
|
|
android:layout_width="wrap_content"
|
2008-11-13 21:22:24 +00:00
|
|
|
android:layout_height="wrap_content"
|
2009-11-13 00:38:26 +00:00
|
|
|
android:paddingLeft="10dip"
|
|
|
|
android:layout_marginRight="1dip"
|
2009-11-25 02:25:56 +00:00
|
|
|
android:layout_alignWithParentIfMissing="true"
|
2010-01-17 04:20:39 +00:00
|
|
|
android:layout_toRightOf="@+id/chip"
|
2009-03-13 17:51:55 +00:00
|
|
|
android:layout_toLeftOf="@+id/from" />
|
2008-11-13 21:22:24 +00:00
|
|
|
</RelativeLayout>
|