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

Restore generation of messagelist chips, now that we have an elastic

message size.
This commit is contained in:
Jesse Vincent 2010-11-07 00:30:12 +00:00
parent 8198ce96f2
commit c0d9939ec6

View File

@ -10,15 +10,16 @@
<RelativeLayout <RelativeLayout
android:id="@+id/chip" android:id="@+id/chip"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:minWidth="6dip"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_alignTop="@+id/subject"
android:layout_alignBottom="@+id/preview"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_marginRight="2dip" android:layout_marginRight="2dip"
android:paddingLeft="6dip"
android:background="@android:color/transparent" > android:background="@android:color/transparent" >
<View
android:layout_width="4dip"
android:layout_height="fill_parent" />
<CheckBox <CheckBox
android:id="@+id/selected_checkbox" android:id="@+id/selected_checkbox"
@ -31,17 +32,6 @@
android:visibility="gone" /> android:visibility="gone" />
</RelativeLayout> </RelativeLayout>
<CheckBox
android:id="@+id/flagged"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_gravity="bottom"
style="?android:attr/starStyle"
android:focusable="false" />
<TextView <TextView
android:id="@+id/date" android:id="@+id/date"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -53,6 +43,17 @@
android:textColor="?android:attr/textColorSecondary" android:textColor="?android:attr/textColorSecondary"
android:textAppearance="?android:attr/textAppearanceSmall" /> android:textAppearance="?android:attr/textAppearanceSmall" />
<CheckBox
android:id="@+id/flagged"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@+id/date"
android:paddingTop="3dip"
style="?android:attr/starStyle"
android:focusable="false" />
<TextView <TextView
android:id="@+id/subject" android:id="@+id/subject"
android:layout_width="fill_parent" android:layout_width="fill_parent"
@ -69,7 +70,7 @@
<TextView <TextView
android:id="@+id/preview" android:id="@+id/preview"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="wrap_content"
android:layout_below="@+id/subject" android:layout_below="@+id/subject"
android:layout_toLeftOf="@+id/flagged" android:layout_toLeftOf="@+id/flagged"
android:layout_toRightOf="@+id/chip" android:layout_toRightOf="@+id/chip"