2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
2011-02-02 22:42:45 -05:00
|
|
|
android:id="@+id/folder_list_item_layout"
|
2008-10-27 21:04:44 -04:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2010-05-02 00:54:09 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-10 20:17:32 -04:00
|
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:paddingRight="4dip"
|
2010-05-02 00:54:09 -04:00
|
|
|
android:paddingBottom="2dip"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:orientation="horizontal"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:gravity="center_vertical" >
|
|
|
|
|
2010-01-06 00:23:32 -05:00
|
|
|
<View
|
|
|
|
android:id="@+id/chip"
|
2012-09-10 10:40:20 -04:00
|
|
|
android:layout_width="16dip"
|
2010-12-28 04:11:10 -05:00
|
|
|
android:layout_marginTop="2dip"
|
|
|
|
android:layout_marginBottom="1dip"
|
2012-09-10 10:40:20 -04:00
|
|
|
android:layout_height="16dip"
|
|
|
|
android:layout_marginLeft="8dip"
|
|
|
|
android:layout_marginRight="6dip"
|
2010-01-06 00:23:32 -05:00
|
|
|
android:layout_centerVertical="true"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:layout_alignParentLeft="true" />
|
|
|
|
|
2008-10-27 21:04:44 -04:00
|
|
|
<LinearLayout
|
2010-04-26 18:22:23 -04:00
|
|
|
android:layout_width="fill_parent"
|
2010-05-02 00:54:09 -04:00
|
|
|
android:layout_height="fill_parent"
|
2009-11-16 14:26:09 -05:00
|
|
|
android:layout_weight="1"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:orientation="vertical"
|
2010-05-02 00:54:09 -04:00
|
|
|
android:gravity="center_vertical"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:paddingLeft="6dip" >
|
|
|
|
|
2008-10-27 21:04:44 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/folder_name"
|
2009-11-16 14:26:09 -05:00
|
|
|
android:layout_width="fill_parent"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:layout_height="wrap_content"
|
2009-11-16 14:26:09 -05:00
|
|
|
android:singleLine="true"
|
2010-09-27 07:59:17 -04:00
|
|
|
android:ellipsize="start"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
|
2008-10-27 21:04:44 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/folder_status"
|
2009-11-16 14:26:09 -05:00
|
|
|
android:layout_width="fill_parent"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:layout_height="wrap_content"
|
2009-11-16 14:26:09 -05:00
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:textColor="?android:attr/textColorTertiary"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2008-10-27 21:04:44 -04:00
|
|
|
</LinearLayout>
|
2010-04-26 18:22:23 -04:00
|
|
|
|
2010-04-16 23:32:17 -04:00
|
|
|
<RelativeLayout
|
2010-04-24 15:10:57 -04:00
|
|
|
android:id="@+id/active_icons"
|
2008-10-27 21:04:44 -04:00
|
|
|
android:layout_width="wrap_content"
|
2010-04-16 23:32:17 -04:00
|
|
|
android:layout_height="fill_parent"
|
2010-05-09 11:48:39 -04:00
|
|
|
android:orientation="horizontal"
|
2010-04-20 00:17:15 -04:00
|
|
|
android:paddingTop="2dip"
|
2010-04-16 23:32:17 -04:00
|
|
|
android:paddingBottom="0dip"
|
2010-04-20 00:17:15 -04:00
|
|
|
android:paddingLeft="6dip"
|
2010-04-16 23:32:17 -04:00
|
|
|
android:paddingRight="6dip"
|
|
|
|
android:gravity="right"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:clickable="true" >
|
2010-05-09 11:48:39 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/folder_flagged_message_count"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2010-05-09 11:48:39 -04:00
|
|
|
android:layout_gravity="bottom"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:layout_alignParentTop="true"
|
2010-05-09 11:48:39 -04:00
|
|
|
android:layout_marginBottom="1dip"
|
|
|
|
android:paddingTop="6dip"
|
2010-04-20 00:17:15 -04:00
|
|
|
android:paddingBottom="4dip"
|
|
|
|
android:paddingLeft="10dip"
|
2010-04-16 23:32:17 -04:00
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:gravity="right"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
2010-05-09 11:48:39 -04:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="#000000"
|
|
|
|
android:background="@drawable/btn_star_big_buttonless_on"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:clickable="true" />
|
2010-04-16 23:32:17 -04:00
|
|
|
<TextView
|
2010-05-09 11:48:39 -04:00
|
|
|
android:id="@+id/folder_unread_message_count"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2010-05-09 11:48:39 -04:00
|
|
|
android:layout_gravity="top"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_toRightOf="@id/folder_flagged_message_count"
|
|
|
|
android:paddingTop="4dip"
|
2010-04-16 23:32:17 -04:00
|
|
|
android:paddingBottom="4dip"
|
2010-04-20 00:17:15 -04:00
|
|
|
android:paddingLeft="10dip"
|
|
|
|
android:paddingRight="10dip"
|
2010-04-16 23:32:17 -04:00
|
|
|
android:gravity="right"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
2010-05-09 11:48:39 -04:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:textColor="#ffffff"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:background="@drawable/envelope"
|
2010-04-26 18:22:23 -04:00
|
|
|
android:clickable="true" />
|
|
|
|
|
2010-05-09 11:48:39 -04:00
|
|
|
|
|
|
|
|
2010-04-16 23:32:17 -04:00
|
|
|
</RelativeLayout>
|
2010-04-26 18:22:23 -04:00
|
|
|
|
2008-10-27 21:04:44 -04:00
|
|
|
</LinearLayout>
|