2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2010-04-26 15:50:25 -04:00
|
|
|
<LinearLayout
|
2011-02-02 22:42:45 -05:00
|
|
|
android:id="@+id/accounts_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 15:50:25 -04:00
|
|
|
android:orientation="horizontal"
|
2010-04-26 14:26:10 -04:00
|
|
|
android:paddingRight="6dip"
|
2010-05-02 00:54:09 -04:00
|
|
|
android:paddingBottom="2dip"
|
2010-05-11 22:52:10 -04:00
|
|
|
android:descendantFocusability="blocksDescendants"
|
2011-03-16 18:05:41 -04:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:background="#ccc" >
|
2010-04-26 14:26:10 -04:00
|
|
|
|
2010-01-06 00:23:32 -05:00
|
|
|
<View
|
|
|
|
android:id="@+id/chip"
|
2010-05-02 11:53:26 -04:00
|
|
|
android:layout_width="6dip"
|
2010-01-06 00:23:32 -05:00
|
|
|
android:layout_height="fill_parent"
|
2010-12-28 04:11:10 -05:00
|
|
|
android:layout_marginTop="2dip"
|
|
|
|
android:layout_marginBottom="1dip"
|
2010-01-06 00:23:32 -05:00
|
|
|
android:layout_centerVertical="true"
|
2011-03-16 18:05:41 -04:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:background="@android:color/transparent" />
|
2010-04-26 14:26:10 -04:00
|
|
|
|
2010-05-11 22:52:10 -04:00
|
|
|
|
2010-04-26 15:50:25 -04:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="1"
|
2010-05-11 22:52:10 -04:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical"
|
2010-12-28 04:11:10 -05:00
|
|
|
android:paddingLeft="6dip" >
|
2010-05-11 22:52:10 -04:00
|
|
|
|
|
|
|
<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"
|
2010-04-26 15:50:25 -04:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:gravity="center_vertical"
|
2010-05-11 22:52:10 -04:00
|
|
|
android:paddingLeft="1dip" >
|
2010-04-26 15:50:25 -04:00
|
|
|
|
|
|
|
<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>
|
2010-05-11 22:52:10 -04:00
|
|
|
</LinearLayout>
|
2010-04-16 23:32:17 -04:00
|
|
|
<RelativeLayout
|
2010-04-21 22:20:35 -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"
|
2010-04-26 14:26:10 -04:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:clickable="true" >
|
2010-05-11 22:52:10 -04:00
|
|
|
|
2010-04-26 14:26:10 -04:00
|
|
|
<TextView
|
2010-05-09 11:48:39 -04:00
|
|
|
android:id="@+id/flagged_message_count"
|
2010-04-26 14:26:10 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2010-05-09 11:48:39 -04:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_gravity="top"
|
|
|
|
|
|
|
|
android:paddingTop="6dip"
|
2010-04-20 00:17:15 -04:00
|
|
|
android:paddingBottom="4dip"
|
2010-04-26 14:26:10 -04:00
|
|
|
android:paddingLeft="10dip"
|
|
|
|
android:paddingRight="10dip"
|
|
|
|
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 14:26:10 -04:00
|
|
|
android:clickable="true" />
|
2010-05-11 22:52:10 -04:00
|
|
|
|
2010-04-26 14:26:10 -04:00
|
|
|
<TextView
|
2010-05-09 11:48:39 -04:00
|
|
|
android:id="@+id/new_message_count"
|
2010-04-26 14:26:10 -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/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 14:26:10 -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 14:26:10 -04:00
|
|
|
android:clickable="true" />
|
2010-05-09 11:48:39 -04:00
|
|
|
|
2010-04-26 14:26:10 -04:00
|
|
|
|
2010-04-16 23:32:17 -04:00
|
|
|
</RelativeLayout>
|
2010-04-26 14:26:10 -04:00
|
|
|
|
2010-04-26 15:50:25 -04:00
|
|
|
</LinearLayout>
|