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

Fix display of message color "chips" - Fixes issue 887

This commit is contained in:
Jesse Vincent 2009-12-08 18:53:53 +00:00
parent 561f45bbae
commit c47db7c255
2 changed files with 23 additions and 15 deletions

View File

@ -2,25 +2,31 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="fill_parent"
android:paddingRight="1dip"
android:paddingTop="2dip"
android:background="@drawable/message_list_item_background">
android:background="@drawable/message_list_item_background"
>
<LinearLayout android:id="@+id/widgets_right"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentRight="true" />
<LinearLayout android:id="@+id/widgets_left"
android:layout_width="wrap_content"
android:layout_height="fill_parent" />
android:layout_alignParentRight="true"
/>
<View
android:id="@+id/chip"
android:background="@drawable/appointment_indicator_leftside_1"
android:layout_width="4dip"
android:layout_height="20dip"
android:layout_height="fill_parent"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/widgets_left"
android:layout_alignParentLeft="true" />
android:layout_alignParentLeft="true"
android:padding="0dip"
/>
<LinearLayout android:id="@+id/widgets_left"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_toRightOf="@id/chip"
/>
<TextView
android:id="@+id/date"
android:textAppearance="?android:attr/textAppearanceSmall"

View File

@ -5,24 +5,26 @@
android:layout_height="38dip"
android:paddingRight="1dip"
android:paddingTop="2dip"
android:background="#999999"
android:background="@drawable/message_list_item_background"
>
<LinearLayout android:id="@+id/widgets_right"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentRight="true"
/>
<LinearLayout android:id="@+id/widgets_left"
android:layout_width="wrap_content"
android:layout_height="fill_parent" />
<View
android:id="@+id/chip"
android:background="@drawable/appointment_indicator_leftside_1"
android:layout_width="4dip"
android:layout_height="fill_parent"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@id/widgets_left"
android:layout_centerVertical="true" />
/>
<LinearLayout android:id="@+id/widgets_left"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_toRightOf="@id/chip"
/>
<TextView
android:id="@+id/subject"
android:ellipsize="end"