mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Put the stars and envelopes on the same line. This isn't the ideal,
because I don't like the stars moving around depending on whether there is an envelope, but at least the overall list layout is a bit improved (and more compact when using small fonts).
This commit is contained in:
parent
6aeac22dad
commit
a1b8b2c67c
@ -47,20 +47,38 @@
|
||||
android:id="@+id/active_icons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="2dip"
|
||||
android:paddingBottom="0dip"
|
||||
android:paddingLeft="6dip"
|
||||
android:paddingRight="6dip"
|
||||
android:layout_alignParentRight="true"
|
||||
android:clickable="true" >
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/flagged_message_count"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_gravity="top"
|
||||
|
||||
android:paddingTop="6dip"
|
||||
android:paddingBottom="4dip"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="#000000"
|
||||
android:background="@drawable/btn_star_big_buttonless_on"
|
||||
android:clickable="true" />
|
||||
<TextView
|
||||
android:id="@+id/new_message_count"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toRightOf="@id/flagged_message_count"
|
||||
android:paddingTop="4dip"
|
||||
android:paddingBottom="4dip"
|
||||
android:paddingLeft="10dip"
|
||||
@ -73,26 +91,7 @@
|
||||
android:textStyle="bold"
|
||||
android:background="@drawable/envelope"
|
||||
android:clickable="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/flagged_message_count"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginBottom="1dip"
|
||||
android:layout_below="@id/new_message_count"
|
||||
android:paddingTop="6dip"
|
||||
android:paddingBottom="4dip"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:gravity="right"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="#000000"
|
||||
android:background="@drawable/btn_star_big_buttonless_on"
|
||||
android:clickable="true" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
@ -47,20 +47,38 @@
|
||||
android:id="@+id/active_icons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="2dip"
|
||||
android:paddingBottom="0dip"
|
||||
android:paddingLeft="6dip"
|
||||
android:paddingRight="6dip"
|
||||
android:gravity="right"
|
||||
android:clickable="true" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/folder_flagged_message_count"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginBottom="1dip"
|
||||
android:paddingTop="6dip"
|
||||
android:paddingBottom="4dip"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:gravity="right"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="#000000"
|
||||
android:background="@drawable/btn_star_big_buttonless_on"
|
||||
android:clickable="true" />
|
||||
<TextView
|
||||
android:id="@+id/folder_unread_message_count"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toRightOf="@id/folder_flagged_message_count"
|
||||
android:paddingTop="4dip"
|
||||
android:paddingBottom="4dip"
|
||||
android:paddingLeft="10dip"
|
||||
@ -74,25 +92,7 @@
|
||||
android:background="@drawable/envelope"
|
||||
android:clickable="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/folder_flagged_message_count"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_below="@id/folder_unread_message_count"
|
||||
android:layout_marginBottom="1dip"
|
||||
android:paddingTop="6dip"
|
||||
android:paddingBottom="4dip"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:gravity="right"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="#000000"
|
||||
android:background="@drawable/btn_star_big_buttonless_on"
|
||||
android:clickable="true" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user