2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-01-10 12:47:28 -05:00
|
|
|
<com.fsck.k9.view.MessageHeader
|
2010-05-01 20:04:27 -04:00
|
|
|
android:id="@+id/header_container"
|
2011-01-10 12:47:28 -05:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2010-05-02 20:20:19 -04:00
|
|
|
>
|
2010-02-06 09:49:36 -05:00
|
|
|
<View
|
2010-05-01 20:04:27 -04:00
|
|
|
android:id="@+id/chip"
|
2010-12-28 04:11:10 -05:00
|
|
|
android:layout_marginTop="1dip"
|
|
|
|
android:layout_marginBottom="1dip"
|
2010-05-01 20:04:27 -04:00
|
|
|
android:layout_width="6dip"
|
|
|
|
android:layout_height="fill_parent" />
|
2008-10-27 21:04:44 -04:00
|
|
|
<LinearLayout
|
2010-05-02 20:20:19 -04:00
|
|
|
android:id="@+id/top_container"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2010-05-02 20:20:19 -04:00
|
|
|
android:orientation="vertical"
|
|
|
|
>
|
2010-07-27 08:10:09 -04:00
|
|
|
<LinearLayout
|
2010-05-02 20:20:19 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:gravity="fill_horizontal"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout android:id="@+id/people"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="4dip"
|
2010-07-27 08:10:09 -04:00
|
|
|
android:layout_weight="5"
|
2010-05-02 20:20:19 -04:00
|
|
|
android:orientation="vertical">
|
|
|
|
<TextView android:id="@+id/subject"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
>
|
2010-05-01 20:04:27 -04:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/from_container"
|
|
|
|
android:layout_width="fill_parent"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-01 20:04:27 -04:00
|
|
|
android:baselineAligned="true" >
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/from"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="6dip"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/to_container"
|
2010-05-02 20:20:19 -04:00
|
|
|
android:layout_width="wrap_content"
|
2009-06-14 10:03:30 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-01 20:04:27 -04:00
|
|
|
android:baselineAligned="true" >
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/to_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="4dip"
|
2010-10-29 18:34:59 -04:00
|
|
|
android:text="@string/message_to_label"
|
2010-05-01 20:04:27 -04:00
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
2010-05-02 20:20:19 -04:00
|
|
|
<TextView android:id="@+id/to"
|
2010-05-01 20:04:27 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:ellipsize="none"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2010-05-02 20:20:19 -04:00
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout android:id="@+id/cc_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:baselineAligned="true">
|
|
|
|
<TextView android:id="@+id/cc_label"
|
2010-05-01 20:04:27 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="4dip"
|
|
|
|
android:text="@string/message_view_cc_label"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
2010-05-02 20:20:19 -04:00
|
|
|
<TextView android:id="@+id/cc"
|
2010-05-01 20:04:27 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:ellipsize="none"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</LinearLayout>
|
2010-05-21 11:34:29 -04:00
|
|
|
<TextView android:id="@+id/additional_headers_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="4dip"
|
|
|
|
android:baselineAligned="true"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:ellipsize="none"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" >
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout android:id="@+id/topright_container"
|
2010-05-02 20:20:19 -04:00
|
|
|
android:orientation="vertical"
|
2010-07-27 08:10:09 -04:00
|
|
|
android:layout_weight="0.1"
|
2010-05-02 20:20:19 -04:00
|
|
|
android:layout_width="wrap_content"
|
2009-06-14 10:03:30 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-06-08 21:56:07 -04:00
|
|
|
android:gravity="right"
|
2010-05-02 20:20:19 -04:00
|
|
|
>
|
|
|
|
<CheckBox android:id="@+id/flagged"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:focusable="false"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
style="?android:attr/starStyle" />
|
|
|
|
<TextView android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:singleLine="true"
|
2010-06-08 21:56:07 -04:00
|
|
|
android:ellipsize="none"
|
2010-06-08 21:56:14 -04:00
|
|
|
android:textSize="10sp"
|
2010-05-02 20:20:19 -04:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2010-06-08 21:56:14 -04:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2010-05-02 20:20:19 -04:00
|
|
|
<TextView android:id="@+id/time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:singleLine="true"
|
2010-06-08 22:45:20 -04:00
|
|
|
android:ellipsize="none"
|
2010-05-02 20:20:19 -04:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
<LinearLayout android:id="@+id/icons_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:baselineAligned="true">
|
|
|
|
<View android:id="@+id/attachment"
|
|
|
|
android:layout_width="22sp"
|
|
|
|
android:layout_height="22sp"
|
|
|
|
android:background="@drawable/ic_email_attachment_small" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2010-05-01 20:04:27 -04:00
|
|
|
</LinearLayout>
|
2008-10-27 21:04:44 -04:00
|
|
|
</LinearLayout>
|
2011-01-10 12:47:28 -05:00
|
|
|
</com.fsck.k9.view.MessageHeader>
|