2010-01-12 22:36:43 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2010-11-04 22:59:26 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="3dip"
|
|
|
|
android:paddingBottom="3dip"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:background="#ccc" >
|
|
|
|
|
2010-01-16 23:20:22 -05:00
|
|
|
<RelativeLayout
|
2010-01-12 22:36:43 -05:00
|
|
|
android:id="@+id/chip"
|
2010-01-16 23:20:22 -05:00
|
|
|
android:layout_width="wrap_content"
|
2010-11-06 20:30:12 -04:00
|
|
|
android:minWidth="6dip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_height="fill_parent"
|
2010-11-06 20:30:12 -04:00
|
|
|
android:layout_alignTop="@+id/subject"
|
|
|
|
android:layout_alignBottom="@+id/preview"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
2010-12-12 19:17:41 -05:00
|
|
|
android:layout_marginRight="4dip"
|
2010-11-06 20:30:12 -04:00
|
|
|
android:paddingLeft="6dip"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:background="@android:color/transparent" >
|
|
|
|
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/selected_checkbox"
|
2010-12-12 19:17:41 -05:00
|
|
|
android:layout_width="30dip"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
2010-12-12 19:17:41 -05:00
|
|
|
android:paddingRight="4dip"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:button="@drawable/checkbox"
|
|
|
|
android:focusable="false"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2010-01-12 22:36:43 -05:00
|
|
|
<TextView
|
2010-04-26 13:10:46 -04:00
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:paddingLeft="5dip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:singleLine="true"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2010-11-06 20:30:12 -04:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/flagged"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/date"
|
|
|
|
android:paddingTop="3dip"
|
|
|
|
style="?android:attr/starStyle"
|
|
|
|
android:focusable="false" />
|
|
|
|
|
|
|
|
|
2010-04-26 13:10:46 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2010-04-26 14:28:22 -04:00
|
|
|
android:layout_toLeftOf="@+id/date"
|
2010-01-16 23:20:22 -05:00
|
|
|
android:layout_toRightOf="@+id/chip"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:layout_marginLeft="1dip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_marginRight="1dip"
|
|
|
|
android:singleLine="true"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/preview"
|
|
|
|
android:layout_width="fill_parent"
|
2010-11-06 20:30:12 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-04-26 14:28:22 -04:00
|
|
|
android:layout_below="@+id/subject"
|
|
|
|
android:layout_toLeftOf="@+id/flagged"
|
|
|
|
android:layout_toRightOf="@+id/chip"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:layout_marginLeft="1dip"
|
2010-01-13 19:33:05 -05:00
|
|
|
android:layout_marginRight="0dip"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:singleLine="false"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:bufferType="spannable"
|
2010-12-29 19:52:00 -05:00
|
|
|
android:textColor="?android:attr/textColorTertiary"
|
2010-04-26 13:10:46 -04:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2010-01-12 22:36:43 -05:00
|
|
|
|
2010-04-26 14:28:22 -04:00
|
|
|
</RelativeLayout>
|