|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- See the file "LICENSE" for the full license governing this code. -->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@android:drawable/list_selector_background"
|
|
|
|
android:padding="4dip"
|
|
|
|
android:paddingRight="6dip"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<!-- picture thumbnail -->
|
|
|
|
<greendroid.widget.AsyncImageView android:id="@+id/icon"
|
|
|
|
android:layout_width="40dip"
|
|
|
|
android:layout_height="44dip"
|
|
|
|
android:gravity="center"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
astrid:defaultSrc="@drawable/ic_contact_picture_2" />
|
|
|
|
|
|
|
|
<!-- person name -->
|
|
|
|
<TextView android:id="@android:id/text1"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="55dip"
|
|
|
|
style="@android:attr/dropDownItemStyle"
|
|
|
|
android:textAppearance="@android:attr/textAppearanceLargeInverse"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textSize="18sp"/>
|
|
|
|
|
|
|
|
<!-- person email -->
|
|
|
|
<TextView android:id="@android:id/text2"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="55dip"
|
|
|
|
android:layout_below="@android:id/text1"
|
|
|
|
style="@android:attr/dropDownItemStyle"
|
|
|
|
android:textAppearance="@android:attr/textAppearanceInverse"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textSize="14sp"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|