1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-23 16:18:50 -05:00

small layout fixes

This commit is contained in:
Jesse Vincent 2008-12-03 04:02:54 +00:00
parent 70dadb3843
commit ebfbb9e5b2
2 changed files with 3 additions and 5 deletions

View File

@ -19,21 +19,19 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="11sp"
android:textColor="?android:attr/textColorPrimary"
android:layout_width="200px"
android:layout_width="250px"
android:layout_height="wrap_content"
android:paddingLeft="10px"
android:layout_marginRight="1px" />
<TextView
android:id="@+id/from"
android:textSize="9sp"
android:ellipsize="end"
android:singleLine="true"
android:layout_width="wrap_content"
android:layout_width="70px"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:paddingRight="5px"
android:layout_below="@+id/date"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
/>

View File

@ -1177,7 +1177,7 @@ public class FolderMessageList extends ExpandableListActivity {
holder.from.setText(message.sender);
holder.from.setTypeface(null, message.read ? Typeface.NORMAL : Typeface.BOLD);
holder.date.setText(message.date);
holder.from.setCompoundDrawablesWithIntrinsicBounds(null, null,
holder.subject.setCompoundDrawablesWithIntrinsicBounds(null, null,
message.hasAttachments ? mAttachmentIcon : null, null);
// if (folder.outbox) {
// holder.status.setText("Sending");