2008-10-28 01:04:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2010-04-26 19:50:25 +00:00
|
|
|
<LinearLayout
|
2008-10-28 01:04:44 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2010-04-26 19:50:25 +00:00
|
|
|
android:orientation="horizontal"
|
2009-11-13 00:38:26 +00:00
|
|
|
android:paddingRight="1dip"
|
|
|
|
android:paddingTop="2dip"
|
2011-01-14 03:54:04 +00:00
|
|
|
android:paddingBottom="3dip"
|
2010-04-26 19:50:25 +00:00
|
|
|
android:gravity="center_vertical"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:background="#ccc" >
|
|
|
|
|
2010-01-17 04:20:39 +00:00
|
|
|
<RelativeLayout
|
2008-10-28 01:04:44 +00:00
|
|
|
android:id="@+id/chip"
|
2010-01-17 04:20:39 +00:00
|
|
|
android:layout_width="wrap_content"
|
2008-12-11 18:14:28 +00:00
|
|
|
android:layout_height="fill_parent"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:minHeight="38dip"
|
2009-12-08 18:53:53 +00:00
|
|
|
android:layout_centerVertical="true"
|
2009-12-08 07:08:05 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:layout_marginRight="2dip"
|
|
|
|
android:background="@android:color/transparent" >
|
|
|
|
|
2010-04-25 08:47:24 +00:00
|
|
|
<View
|
2010-05-02 18:11:59 +00:00
|
|
|
android:layout_width="6dip"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:layout_height="fill_parent" />
|
|
|
|
|
2010-04-25 08:47:24 +00:00
|
|
|
<CheckBox
|
2010-04-26 17:36:33 +00: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 19:50:25 +00: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"
|
2011-01-14 03:54:04 +00:00
|
|
|
android:layout_marginBottom="1dip"
|
2010-04-26 19:50:25 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:singleLine="true"
|
2011-01-14 03:54:04 +00:00
|
|
|
android:ellipsize="marquee"
|
2010-04-26 19:50:25 +00:00
|
|
|
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 17:36:33 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/flagged"
|
|
|
|
android:layout_height="20dip"
|
|
|
|
android:layout_width="20dip"
|
2011-01-14 03:54:04 +00:00
|
|
|
android:layout_marginLeft="2dip"
|
2010-04-26 17:36:33 +00:00
|
|
|
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-17 04:20:39 +00:00
|
|
|
|
2010-04-26 19:50:25 +00:00
|
|
|
</LinearLayout>
|