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

Ellipsize From field at the end in message list

This commit is contained in:
Bao-Long Nguyen-Trong 2009-06-16 15:54:21 +00:00
parent 98fe0cc25f
commit 25f2941cf8

View File

@ -23,20 +23,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="10px" android:paddingLeft="10px"
android:layout_marginRight="1px" /> android:layout_marginRight="1px" />
<TextView
android:id="@+id/from"
android:singleLine="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:paddingLeft="12px"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
/>
<TextView <TextView
android:id="@+id/date" android:id="@+id/date"
android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingRight="5px" android:paddingRight="5px"
android:paddingLeft="5px" android:paddingLeft="5px"
@ -48,4 +36,17 @@
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:background="@android:color/transparent" android:background="@android:color/transparent"
/> />
<TextView
android:id="@+id/from"
android:ellipsize="end"
android:singleLine="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:paddingLeft="12px"
android:layout_toLeftOf="@id/date"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
/>
</RelativeLayout> </RelativeLayout>