mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?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="wrap_content"
|
|
android:paddingRight="1dip"
|
|
android:paddingTop="2dip"
|
|
android:background="@drawable/message_list_item_background">
|
|
<View
|
|
android:id="@+id/chip"
|
|
android:background="@drawable/appointment_indicator_leftside_1"
|
|
android:layout_width="4dip"
|
|
android:layout_height="20dip"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentLeft="true" />
|
|
<include
|
|
layout="@layout/message_list_widgets_left"
|
|
android:id="@+id/widgets"
|
|
android:layout_toRightOf="@+id/chip" />
|
|
<TextView
|
|
android:id="@+id/subject"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="5dip"
|
|
android:paddingRight="3dip"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignWithParentIfMissing="true"
|
|
android:layout_toRightOf="@+id/widgets"
|
|
android:layout_toLeftOf="@+id/from"/>
|
|
<TextView
|
|
android:id="@+id/from"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:layout_width="110dip"
|
|
android:layout_height="wrap_content"
|
|
android:paddingRight="3dip"
|
|
android:layout_centerVertical="true"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:layout_toLeftOf="@+id/date" />
|
|
<TextView
|
|
android:id="@+id/date"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:singleLine="true"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_width="70dip"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="right"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentRight="true" />
|
|
</RelativeLayout>
|