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-08-16 02:17:26 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
2013-07-20 14:53:39 -04:00
|
|
|
>
|
2013-08-16 02:17:26 -04:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/chip"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignBottom="@+id/list_item_inner"
|
|
|
|
android:adjustViewBounds="false"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_width="8dip"
|
|
|
|
android:background="#ff336699"
|
|
|
|
|
2013-07-20 14:53:39 -04:00
|
|
|
/>
|
2013-08-16 02:17:26 -04:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/list_item_inner"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:paddingBottom="6dip"
|
|
|
|
android:paddingRight="4dip"
|
|
|
|
android:paddingLeft="8dip"
|
|
|
|
android:paddingTop="5dip">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/checkbox_wrapper"
|
|
|
|
android:layout_width="42dip"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:textColor="?android:attr/textColorPrimary">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/selected_checkbox"
|
|
|
|
android:layout_width="16dip"
|
|
|
|
android:layout_height="16dip"
|
|
|
|
android:button="?attr/messageListCheckbox"
|
|
|
|
android:focusable="false"
|
|
|
|
android:clickable="false"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<QuickContactBadge
|
|
|
|
android:id="@+id/contact_badge"
|
|
|
|
android:layout_marginRight="8dip"
|
|
|
|
android:layout_marginTop="4dip"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginBottom="3dip"
|
|
|
|
android:layout_height="40dip"
|
|
|
|
android:layout_width="40dip"
|
|
|
|
android:layout_toRightOf="@id/checkbox_wrapper"
|
|
|
|
android:src="@drawable/ic_contact_picture"
|
|
|
|
style="?android:attr/quickContactBadgeStyleWindowLarge"
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/subject_wrapper"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toRightOf="@id/contact_badge"
|
|
|
|
android:layout_toLeftOf="@+id/date"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sender_compact"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="0.3"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:layout_marginBottom="1dip"
|
|
|
|
android:layout_marginLeft="1dip"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="0.7"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="1dip"
|
|
|
|
android:layout_marginLeft="1dip"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/preview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toRightOf="@+id/contact_badge"
|
|
|
|
android:layout_below="@+id/subject_wrapper"
|
|
|
|
android:layout_toLeftOf="@+id/thread_count"
|
|
|
|
android:layout_marginLeft="1dip"
|
|
|
|
android:layout_marginBottom="3dip"
|
|
|
|
android:layout_marginRight="3dip"
|
|
|
|
android:bufferType="spannable"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignTop="@+id/subject_wrapper"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:paddingLeft="3dip"
|
|
|
|
android:layout_marginRight="2dip"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/thread_count"
|
|
|
|
android:layout_gravity="center|center_vertical"
|
|
|
|
android:textColor="?attr/messageListThreadCountForegroundColor"
|
|
|
|
android:background="?attr/messageListThreadCountBackground"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignTop="@+id/preview"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/date"
|
|
|
|
android:layout_marginLeft="4dip"
|
|
|
|
android:layout_marginRight="2dip"
|
|
|
|
android:paddingRight="4dip"
|
|
|
|
android:paddingBottom="1dip"
|
|
|
|
android:paddingLeft="4dip"
|
|
|
|
android:focusable="false"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2013-02-05 03:51:04 -05:00
|
|
|
|
2012-09-10 11:51:34 -04:00
|
|
|
</RelativeLayout>
|