2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-09-12 00:18:31 -04:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-02-05 03:51:04 -05:00
|
|
|
android:layout_width="match_parent"
|
2010-04-26 13:36:33 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-11-06 15:20:27 -05:00
|
|
|
android:paddingBottom="6dip"
|
|
|
|
android:paddingRight="4dip"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:paddingTop="5dip" >
|
2010-04-26 13:36:33 -04:00
|
|
|
|
2013-02-05 03:51:04 -05:00
|
|
|
<LinearLayout
|
2012-09-13 00:31:21 -04:00
|
|
|
android:id="@+id/chip_wrapper"
|
2012-10-02 20:52:40 -04:00
|
|
|
android:layout_width="48dip"
|
2013-02-05 03:51:04 -05:00
|
|
|
android:layout_height="match_parent"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:layout_alignParentLeft="true"
|
2012-09-20 23:30:52 -04:00
|
|
|
android:layout_centerVertical="true"
|
2013-02-06 08:06:22 -05:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:gravity="center"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:textColor="?android:attr/textColorPrimary" >
|
2010-04-26 13:36:33 -04:00
|
|
|
|
2013-02-05 03:51:04 -05:00
|
|
|
<View
|
|
|
|
android:id="@+id/chip"
|
|
|
|
android:layout_width="32dip"
|
|
|
|
android:layout_height="32dip"
|
|
|
|
android:layout_marginLeft="8dip"
|
|
|
|
android:layout_marginRight="8dip"
|
|
|
|
android:background="@android:color/transparent" />
|
|
|
|
|
2012-10-09 18:22:00 -04:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/selected_checkbox"
|
2013-06-07 00:40:23 -04:00
|
|
|
android:layout_width="wrap_content"
|
2013-02-06 08:06:22 -05:00
|
|
|
android:layout_height="wrap_content"
|
2013-06-07 00:40:23 -04:00
|
|
|
android:button="?attr/messageListCheckbox"
|
2012-10-09 18:22:00 -04:00
|
|
|
android:focusable="false"
|
2013-06-07 00:40:23 -04:00
|
|
|
android:clickable="false"
|
2012-10-09 18:22:00 -04:00
|
|
|
android:visibility="gone" />
|
2013-02-05 03:51:04 -05:00
|
|
|
|
|
|
|
</LinearLayout>
|
2012-09-13 00:31:21 -04:00
|
|
|
|
2013-02-07 14:01:49 -05:00
|
|
|
<QuickContactBadge
|
|
|
|
android:id="@+id/contact_badge"
|
|
|
|
android:layout_marginRight="8dip"
|
|
|
|
android:layout_marginTop="4dip"
|
|
|
|
android:layout_marginBottom="3dip"
|
2013-02-12 03:59:02 -05:00
|
|
|
android:layout_height="40dip"
|
|
|
|
android:layout_width="40dip"
|
2013-02-07 14:01:49 -05:00
|
|
|
android:layout_toRightOf="@id/chip_wrapper"
|
|
|
|
android:src="@drawable/ic_contact_picture"
|
|
|
|
style="?android:attr/quickContactBadgeStyleWindowLarge"
|
|
|
|
android:background="@android:color/transparent" />
|
|
|
|
|
2012-09-10 11:51:34 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject"
|
2013-02-05 03:51:04 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginBottom="1dip"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:layout_marginLeft="1dip"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:layout_toLeftOf="@+id/date"
|
2013-02-07 14:01:49 -05:00
|
|
|
android:layout_toRightOf="@id/contact_badge"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:ellipsize="marquee"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
2012-09-10 11:51:34 -04:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/preview"
|
2013-02-05 03:51:04 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:layout_height="wrap_content"
|
2013-02-07 14:01:49 -05:00
|
|
|
android:layout_toRightOf="@+id/contact_badge"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:layout_below="@+id/subject"
|
2013-02-05 03:51:04 -05:00
|
|
|
android:layout_toLeftOf="@+id/thread_count"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:layout_marginLeft="1dip"
|
2012-09-13 01:54:14 -04:00
|
|
|
android:layout_marginBottom="3dip"
|
2012-10-08 16:51:29 -04:00
|
|
|
android:layout_marginRight="3dip"
|
2012-09-10 11:51:34 -04:00
|
|
|
android:bufferType="spannable"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:singleLine="false"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
2012-10-08 16:51:29 -04:00
|
|
|
|
2012-09-12 00:18:31 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignTop="@+id/subject"
|
2012-09-13 01:54:14 -04:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:paddingLeft="3dip"
|
|
|
|
android:layout_marginRight="2dip"
|
2012-09-12 00:18:31 -04:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
2013-02-05 03:51:04 -05:00
|
|
|
|
2012-11-24 13:22:21 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/thread_count"
|
|
|
|
android:layout_gravity="center|center_vertical"
|
|
|
|
android:textColor="?attr/messageListThreadCountForegroundColor"
|
2013-02-05 03:51:04 -05:00
|
|
|
android:background="?attr/messageListThreadCountBackground"
|
2012-11-24 13:22:21 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-02-05 03:51:04 -05:00
|
|
|
android:layout_alignTop="@+id/preview"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/date"
|
|
|
|
android:layout_marginLeft="4dip"
|
|
|
|
android:layout_marginRight="2dip"
|
2012-11-24 13:22:21 -05:00
|
|
|
android:paddingRight="4dip"
|
|
|
|
android:paddingBottom="1dip"
|
|
|
|
android:paddingLeft="4dip"
|
|
|
|
android:focusable="false" />
|
2013-02-05 03:51:04 -05:00
|
|
|
|
2012-09-10 11:51:34 -04:00
|
|
|
</RelativeLayout>
|