2008-10-28 01:04:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-09-10 15:51:34 +00:00
|
|
|
<RelativeLayout
|
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"
|
2012-09-10 15:51:34 +00:00
|
|
|
android:paddingTop="5dip"
|
|
|
|
android:paddingBottom="5dip"
|
|
|
|
android:paddingRight="3dip"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:background="#ccc" >
|
|
|
|
|
2012-09-10 21:38:56 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/chip_wrapper"
|
|
|
|
android:layout_alignTop="@+id/subject"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="36dip"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
>
|
2010-01-17 04:20:39 +00:00
|
|
|
<RelativeLayout
|
2008-10-28 01:04:44 +00:00
|
|
|
android:id="@+id/chip"
|
2012-09-10 14:40:20 +00:00
|
|
|
android:layout_width="16dip"
|
|
|
|
android:layout_height="16dip"
|
2012-09-10 15:51:34 +00:00
|
|
|
android:layout_marginTop="6dip"
|
|
|
|
android:layout_marginRight="8dip"
|
|
|
|
android:layout_marginLeft="8dip"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:background="@android:color/transparent" >
|
2012-09-10 14:40:20 +00:00
|
|
|
</RelativeLayout>
|
2010-04-26 17:36:33 +00:00
|
|
|
|
|
|
|
|
2010-04-25 08:47:24 +00:00
|
|
|
<CheckBox
|
2010-04-26 17:36:33 +00:00
|
|
|
android:id="@+id/selected_checkbox"
|
2012-09-10 14:40:20 +00:00
|
|
|
android:layout_width="30dip"
|
2012-09-10 21:38:56 +00:00
|
|
|
android:layout_height="wrap_content"
|
2012-09-10 15:51:34 +00:00
|
|
|
android:paddingRight="7dip"
|
|
|
|
android:paddingLeft="7dip"
|
|
|
|
android:paddingBottom="6dip"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:focusable="false"
|
|
|
|
android:visibility="gone" />
|
2012-09-10 21:38:56 +00:00
|
|
|
</LinearLayout>
|
2012-09-10 15:51:34 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginRight="3dip"
|
|
|
|
android:paddingLeft="5dip"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2010-04-26 19:50:25 +00:00
|
|
|
|
2010-04-26 17:36:33 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/flagged"
|
2012-09-10 15:51:34 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:gravity="bottom"
|
|
|
|
android:layout_marginRight="3dip"
|
|
|
|
android:layout_below="@+id/date"
|
|
|
|
android:layout_marginTop="3dip"
|
|
|
|
style="?android:attr/starStyle"
|
2010-04-26 17:36:33 +00:00
|
|
|
android:focusable="false" />
|
2010-01-17 04:20:39 +00:00
|
|
|
|
2012-09-10 15:51:34 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toLeftOf="@+id/date"
|
2012-09-10 21:38:56 +00:00
|
|
|
android:layout_toRightOf="@+id/chip_wrapper"
|
2012-09-10 15:51:34 +00:00
|
|
|
android:layout_marginLeft="1dip"
|
|
|
|
android:layout_marginRight="1dip"
|
|
|
|
android:paddingBottom="1dip"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/preview"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/subject"
|
|
|
|
android:layout_toLeftOf="@+id/flagged"
|
2012-09-10 21:38:56 +00:00
|
|
|
android:layout_toRightOf="@+id/chip_wrapper"
|
2012-09-10 15:51:34 +00:00
|
|
|
android:layout_marginLeft="1dip"
|
|
|
|
android:layout_marginRight="0dip"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:bufferType="spannable"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|