2011-12-20 18:20:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-06-21 18:56:59 +00:00
|
|
|
<org.thoughtcrime.securesms.ConversationListItem
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2011-12-20 18:20:44 +00:00
|
|
|
|
2013-05-24 01:10:15 +00:00
|
|
|
<FrameLayout android:id="@+id/contact_photo_frame"
|
|
|
|
android:layout_width="wrap_content"
|
2012-11-21 04:14:30 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:visibility="visible">
|
2013-06-21 18:56:59 +00:00
|
|
|
|
2012-11-21 04:14:30 +00:00
|
|
|
<QuickContactBadge android:id="@+id/contact_photo_badge"
|
|
|
|
style="?android:attr/quickContactBadgeStyleWindowLarge"
|
|
|
|
android:visibility="gone" />
|
2013-05-24 01:10:15 +00:00
|
|
|
|
2012-11-21 04:14:30 +00:00
|
|
|
<ImageView android:id="@+id/contact_photo_image"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:cropToPadding="true"
|
2013-05-24 01:10:15 +00:00
|
|
|
android:scaleType="centerCrop"
|
2013-06-21 18:56:59 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
android:contentDescription="Contact Photo Image"/>
|
2012-11-21 04:14:30 +00:00
|
|
|
</FrameLayout>
|
2013-05-24 01:10:15 +00:00
|
|
|
|
|
|
|
<!--<CheckBox android:id="@+id/checkbox"-->
|
|
|
|
<!--android:layout_width="wrap_content"-->
|
|
|
|
<!--android:layout_height="wrap_content"-->
|
|
|
|
<!--android:layout_alignParentRight="true"-->
|
|
|
|
<!--android:layout_alignParentTop="true"-->
|
|
|
|
<!--android:visibility="gone" />-->
|
2011-12-20 18:20:44 +00:00
|
|
|
|
|
|
|
<TextView android:id="@+id/from"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:layout_marginTop="6dip"
|
|
|
|
android:layout_marginRight="5dip"
|
2013-06-21 18:56:59 +00:00
|
|
|
android:layout_marginLeft="10dip"
|
|
|
|
android:layout_marginBottom="10dip"
|
2012-11-21 04:14:30 +00:00
|
|
|
android:layout_alignTop="@id/contact_photo_frame"
|
|
|
|
android:layout_toRightOf="@id/contact_photo_frame"
|
2011-12-20 18:20:44 +00:00
|
|
|
android:layout_alignWithParentIfMissing="true"
|
2013-06-21 18:56:59 +00:00
|
|
|
android:ellipsize="marquee"/>
|
2013-05-24 01:10:15 +00:00
|
|
|
<!--android:layout_toLeftOf="@id/checkbox"-->
|
2012-07-17 03:20:13 +00:00
|
|
|
|
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<TextView android:id="@+id/date"
|
|
|
|
android:layout_marginBottom="10dip"
|
|
|
|
android:layout_marginLeft="5dip"
|
2013-06-21 18:56:59 +00:00
|
|
|
android:paddingRight="10dip"
|
2011-12-20 18:20:44 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:singleLine="true"
|
2013-05-24 01:10:15 +00:00
|
|
|
android:layout_alignBottom="@id/contact_photo_frame"
|
2012-11-21 04:56:21 +00:00
|
|
|
android:layout_alignParentRight="true"/>
|
2011-12-20 18:20:44 +00:00
|
|
|
|
|
|
|
<ImageView android:id="@+id/error"
|
|
|
|
android:layout_marginLeft="3dip"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:layout_toLeftOf="@id/date"
|
|
|
|
android:layout_alignBottom="@id/date"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
2013-06-21 18:56:59 +00:00
|
|
|
android:src="@drawable/ic_list_alert_sms_failed"
|
|
|
|
android:contentDescription="Error Alert"/>
|
2011-12-20 18:20:44 +00:00
|
|
|
|
|
|
|
<ImageView android:id="@+id/attachment"
|
|
|
|
android:layout_marginLeft="3dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_toLeftOf="@id/error"
|
|
|
|
android:layout_alignBottom="@id/date"
|
2013-06-21 18:56:59 +00:00
|
|
|
android:src="@drawable/ic_attachment_universal_small"
|
|
|
|
android:contentDescription="Attachment Indicator"/>
|
2011-12-20 18:20:44 +00:00
|
|
|
|
|
|
|
<TextView android:id="@+id/subject"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:layout_marginBottom="10dip"
|
2013-06-21 18:56:59 +00:00
|
|
|
android:layout_marginLeft="10dip"
|
2012-11-21 04:14:30 +00:00
|
|
|
android:layout_alignBottom="@id/contact_photo_frame"
|
|
|
|
android:layout_toRightOf="@id/contact_photo_frame"
|
2011-12-20 18:20:44 +00:00
|
|
|
android:layout_toLeftOf="@id/date"
|
|
|
|
android:ellipsize="end" />
|
|
|
|
|
2012-07-26 23:21:45 +00:00
|
|
|
</org.thoughtcrime.securesms.ConversationListItem>
|