mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 14:05:05 -05:00
63b6b497a0
Missing: - UI support for threading when polling - code to upgrade existing installations - UI elements to switch from/to threaded display mode - threading of messages with same subject
87 lines
3.2 KiB
XML
87 lines
3.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:paddingBottom="2dip"
|
|
android:paddingRight="3dip"
|
|
android:paddingTop="5dip" >
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/chip_wrapper"
|
|
android:layout_width="48dip"
|
|
android:layout_height="fill_parent"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_gravity="center|center_vertical"
|
|
android:textColor="?android:attr/textColorPrimary" >
|
|
|
|
<View
|
|
android:id="@+id/chip"
|
|
android:layout_width="32dip"
|
|
android:layout_height="32dip"
|
|
android:layout_gravity="center|center_vertical"
|
|
android:layout_marginLeft="8dip"
|
|
android:layout_marginRight="8dip"
|
|
android:background="@android:color/transparent" />
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/subject"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginBottom="1dip"
|
|
android:layout_marginLeft="1dip"
|
|
android:layout_toLeftOf="@+id/date"
|
|
android:layout_toRightOf="@+id/chip_wrapper"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorPrimary" />
|
|
|
|
<TextView
|
|
android:id="@+id/preview"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@+id/chip_wrapper"
|
|
android:layout_below="@+id/subject"
|
|
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/thread_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6dip"
|
|
android:layout_marginRight="12dip"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_below="@+id/subject"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:paddingLeft="4dip"
|
|
android:paddingRight="4dip"
|
|
android:paddingTop="2dip"
|
|
android:paddingBottom="2dip"
|
|
android:background="#50000000"
|
|
android:focusable="false" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignTop="@+id/subject"
|
|
android:layout_alignParentRight="true"
|
|
android:paddingLeft="3dip"
|
|
android:layout_marginRight="2dip"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
</RelativeLayout>
|