1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-18 05:42:15 -05:00
k-9/res/layout/accounts_item.xml

78 lines
2.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:id="@+id/accounts_item_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
2013-02-12 04:04:52 -05:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="horizontal"
android:descendantFocusability="blocksDescendants"
2013-02-12 04:04:52 -05:00
android:gravity="center_vertical">
<View
android:id="@+id/chip"
2012-10-02 20:52:40 -04:00
android:layout_width="32dip"
android:layout_height="32dip"
android:layout_marginLeft="8dip"
2013-02-12 04:04:52 -05:00
android:layout_marginRight="6dip" />
<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"
2013-02-12 04:04:52 -05:00
android:layout_width="match_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"
2013-02-12 04:04:52 -05:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:ellipsize="end"
android:textColor="?android:attr/textColorSecondary"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
2013-02-12 04:04:52 -05:00
2012-11-06 16:17:31 -05:00
<include layout="@layout/accounts_folders_icons" />
<LinearLayout
android:id="@+id/folder_button_wrapper"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginLeft="4dip"
android:layout_marginRight="4dip"
android:background="?attr/compatDividerVertical"
android:layout_alignParentTop="true"/>
<ImageButton
android:id="@+id/folders"
android:gravity="center_vertical"
android:focusable="false"
android:layout_marginRight="3dip"
android:src="?attr/iconFolder"
android:background="?attr/compatSelectableItemBackground"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:padding="8dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
/>
2013-02-12 04:04:52 -05:00
</LinearLayout>
</LinearLayout>