mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-15 20:32:24 -05:00
122 lines
4.3 KiB
XML
122 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:orientation="horizontal"
|
|
android:paddingRight="6dip"
|
|
android:paddingBottom="2dip"
|
|
android:descendantFocusability="blocksDescendants"
|
|
android:gravity="center_vertical" >
|
|
|
|
<View
|
|
android:id="@+id/chip"
|
|
android:layout_width="6dip"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginTop="2dip"
|
|
android:layout_marginBottom="1dip"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentLeft="true" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="6dip" >
|
|
|
|
<ImageButton
|
|
android:id="@+id/folders"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_gravity="top"
|
|
android:focusable="false"
|
|
android:background="@drawable/ic_show_folders"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="1dip" >
|
|
|
|
<TextView
|
|
android:id="@+id/description"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<TextView
|
|
android:id="@+id/email"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/active_icons"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="2dip"
|
|
android:paddingBottom="0dip"
|
|
android:paddingLeft="6dip"
|
|
android:paddingRight="6dip"
|
|
android:layout_alignParentRight="true"
|
|
android:clickable="true" >
|
|
|
|
<TextView
|
|
android:id="@+id/flagged_message_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_gravity="top"
|
|
|
|
android:paddingTop="6dip"
|
|
android:paddingBottom="4dip"
|
|
android:paddingLeft="10dip"
|
|
android:paddingRight="10dip"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="#000000"
|
|
android:background="@drawable/btn_star_big_buttonless_on"
|
|
android:clickable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/new_message_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_toRightOf="@id/flagged_message_count"
|
|
android:paddingTop="4dip"
|
|
android:paddingBottom="4dip"
|
|
android:paddingLeft="10dip"
|
|
android:paddingRight="10dip"
|
|
android:gravity="right"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="#ffffff"
|
|
android:textStyle="bold"
|
|
android:background="@drawable/envelope"
|
|
android:clickable="true" />
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|