1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

Display name and email address in separate lines for auto-complete results in message compose activity.

Fixes issue 2442
This commit is contained in:
cketti 2010-10-30 21:06:09 +00:00
parent 7f396e29a0
commit 7acb7ceda3

View File

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="50dip" android:layout_height="wrap_content"
android:orientation="horizontal"> android:minHeight="50dip"
android:layout_centerVertical="true"
android:orientation="vertical">
<TextView android:id="@+id/text1" <TextView android:id="@+id/text1"
android:textColor="@android:color/primary_text_light" android:textColor="@android:color/primary_text_light"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:paddingLeft="6dip" android:paddingLeft="6dip"
android:singleLine="true" android:singleLine="true"
android:ellipsize="end" android:ellipsize="end"
@ -19,10 +20,9 @@
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_toRightOf="@id/text1" android:layout_alignParentLeft="true"
android:layout_centerVertical="true" android:paddingLeft="12dip"
android:paddingLeft="6dip"
android:singleLine="true" android:singleLine="true"
android:ellipsize="end" android:ellipsize="end"
/> />
</RelativeLayout> </LinearLayout>