1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00

layout cleanup

This commit is contained in:
Jesse Vincent 2008-12-11 18:14:28 +00:00
parent 2abc374f60
commit 4ab0a2e82b
2 changed files with 16 additions and 23 deletions

View File

@ -2,9 +2,9 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="19px"
android:layout_height="20px"
android:paddingRight="1px"
android:paddingTop="3px"
android:paddingTop="2px"
android:background="@drawable/folder_message_list_child_background">
<View
android:id="@+id/chip"
@ -17,35 +17,31 @@
android:ellipsize="end"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="12sp"
android:textColor="?android:attr/textColorPrimary"
android:layout_width="350px"
android:layout_width="310px"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/from"
android:paddingLeft="10px"
android:layout_marginRight="1px" />
<TextView
android:id="@+id/from"
android:textSize="9sp"
android:layout_toRightOf="@+id/subject"
android:ellipsize="end"
android:singleLine="true"
android:layout_width="85px"
android:layout_width="110px"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:paddingLeft="5px"
android:paddingRight="5px"
android:drawablePadding="4px"
android:paddingLeft="3px"
android:paddingRight="3px"
/>
<TextView
android:id="@+id/date"
android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="9sp"
android:singleLine="true"
android:textColor="?android:attr/textColorPrimary"
android:layout_width="25px"
android:layout_width="50px"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"

View File

@ -2,50 +2,47 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="28px"
android:layout_height="38px"
android:paddingRight="1px"
android:paddingTop="3px"
android:paddingTop="2px"
android:background="@drawable/folder_message_list_child_background">
<View
android:id="@+id/chip"
android:background="@drawable/appointment_indicator_leftside_1"
android:layout_width="4px"
android:layout_height="16px"
android:layout_height="fill_parent"
android:layout_centerVertical="true" />
<TextView
android:id="@+id/subject"
android:ellipsize="end"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="11sp"
android:textColor="?android:attr/textColorPrimary"
android:layout_width="250px"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="10px"
android:layout_marginRight="1px" />
<TextView
android:id="@+id/from"
android:textSize="9sp"
android:singleLine="true"
android:layout_width="70px"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:paddingRight="5px"
android:layout_alignParentRight="true"
android:paddingLeft="12px"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
/>
<TextView
android:id="@+id/date"
android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="9sp"
android:paddingRight="5px"
android:singleLine="true"
android:textColor="?android:attr/textColorPrimary"
android:textColor="?android:attr/textColorSecondary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
/>
</RelativeLayout>