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"
|
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
|
|
android:background="#cccccc"
|
|
|
|
android:paddingTop="2dip"
|
|
|
|
>
|
2010-01-16 23:20:22 -05:00
|
|
|
<RelativeLayout
|
2010-01-12 22:36:43 -05:00
|
|
|
android:id="@+id/chip"
|
|
|
|
android:background="@drawable/appointment_indicator_leftside_1"
|
2010-01-16 23:20:22 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginRight="2dip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
2010-01-16 23:20:22 -05:00
|
|
|
>
|
2010-01-12 22:36:43 -05:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/selected_checkbox"
|
2010-01-16 23:20:22 -05:00
|
|
|
android:layout_width="24dip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_height="wrap_content"
|
2010-01-13 19:33:05 -05:00
|
|
|
android:button="@drawable/checkbox"
|
|
|
|
android:layout_centerVertical="true"
|
2010-01-24 22:39:12 -05:00
|
|
|
android:layout_alignParentLeft="true"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:focusable="false"
|
2010-01-16 23:20:22 -05:00
|
|
|
android:visibility="gone"
|
2010-01-12 22:36:43 -05:00
|
|
|
/>
|
2010-01-16 23:20:22 -05:00
|
|
|
</RelativeLayout>
|
2010-01-12 22:36:43 -05:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/flagged"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:focusable="false"
|
|
|
|
style="?android:attr/starStyle"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2010-01-13 19:33:05 -05:00
|
|
|
android:layout_marginLeft="1dip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_toLeftOf="@id/date"
|
2010-01-16 23:20:22 -05:00
|
|
|
android:layout_toRightOf="@+id/chip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_marginRight="1dip"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:paddingLeft="5dip"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/preview"
|
|
|
|
android:layout_below="@id/subject"
|
2010-01-16 23:20:22 -05:00
|
|
|
android:layout_toRightOf="@id/chip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorTertiary"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2010-01-13 19:33:05 -05:00
|
|
|
android:layout_marginLeft="1dip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:layout_toLeftOf="@id/flagged"
|
2010-01-13 19:33:05 -05:00
|
|
|
android:layout_marginRight="0dip"
|
2010-01-12 22:36:43 -05:00
|
|
|
android:bufferType="spannable"
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|