2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2010-04-26 15:50:25 -04:00
|
|
|
<LinearLayout
|
2008-10-27 21:04:44 -04:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2010-04-26 13:36:33 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-04-26 15:50:25 -04:00
|
|
|
android:orientation="horizontal"
|
2009-11-12 19:38:26 -05:00
|
|
|
android:paddingRight="1dip"
|
|
|
|
android:paddingTop="2dip"
|
2010-04-26 15:50:25 -04:00
|
|
|
android:gravity="center_vertical"
|
2010-04-26 13:36:33 -04:00
|
|
|
android:background="#ccc" >
|
|
|
|
|
2010-01-16 23:20:39 -05:00
|
|
|
<RelativeLayout
|
2008-10-27 21:04:44 -04:00
|
|
|
android:id="@+id/chip"
|
2010-01-16 23:20:39 -05:00
|
|
|
android:layout_width="wrap_content"
|
2008-12-11 13:14:28 -05:00
|
|
|
android:layout_height="fill_parent"
|
2010-04-26 13:36:33 -04:00
|
|
|
android:minHeight="38dip"
|
2009-12-08 13:53:53 -05:00
|
|
|
android:layout_centerVertical="true"
|
2009-12-08 02:08:05 -05:00
|
|
|
android:layout_alignParentLeft="true"
|
2010-04-26 13:36:33 -04:00
|
|
|
android:layout_marginRight="2dip"
|
|
|
|
android:background="@android:color/transparent" >
|
|
|
|
|
2010-04-25 04:47:24 -04:00
|
|
|
<View
|
2010-04-26 13:36:33 -04:00
|
|
|
android:layout_width="4dip"
|
|
|
|
android:layout_height="fill_parent" />
|
|
|
|
|
2010-04-25 04:47:24 -04:00
|
|
|
<CheckBox
|
2010-04-26 13:36:33 -04:00
|
|
|
android:id="@+id/selected_checkbox"
|
|
|
|
android:layout_width="24dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:button="@drawable/checkbox"
|
|
|
|
android:focusable="false"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2010-04-26 15:50:25 -04:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="6dip" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="1dip"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/from"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingLeft="2dip"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="right|bottom"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:paddingLeft="5dip"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2010-04-26 13:36:33 -04:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/flagged"
|
|
|
|
android:layout_height="20dip"
|
|
|
|
android:layout_width="20dip"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:button="@drawable/star"
|
|
|
|
android:focusable="false" />
|
2010-01-16 23:20:39 -05:00
|
|
|
|
2010-04-26 15:50:25 -04:00
|
|
|
</LinearLayout>
|