1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Give star a bit more room so there is no cut-off. Don't force the scrollbar on the outside so the listitems can take the whole width.

This commit is contained in:
Sander Bogaert 2012-08-02 10:50:24 -04:00
parent 592ed3ef38
commit ee283c0c77
4 changed files with 8 additions and 9 deletions

View File

@ -10,10 +10,10 @@
android:id="@+id/flagged" android:id="@+id/flagged"
android:focusable="false" android:focusable="false"
android:button="@drawable/star" android:button="@drawable/star"
android:layout_marginRight="5dip"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_height="20dip" android:layout_height="20dip"
android:layout_width="20dip" android:layout_width="23dip"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
/> />
<RelativeLayout <RelativeLayout

View File

@ -89,11 +89,9 @@
<CheckBox <CheckBox
android:id="@+id/flagged" android:id="@+id/flagged"
android:layout_height="20dip" android:layout_height="20dip"
android:layout_width="20dip" android:layout_width="23dip"
android:layout_marginLeft="2dip" android:layout_marginLeft="3dip"
android:layout_alignParentRight="true" android:layout_marginRight="7dip"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:button="@drawable/star" android:button="@drawable/star"
android:focusable="false" /> android:focusable="false" />

View File

@ -40,6 +40,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_marginRight="3dip"
android:paddingLeft="5dip" android:paddingLeft="5dip"
android:singleLine="true" android:singleLine="true"
android:textColor="?android:attr/textColorSecondary" android:textColor="?android:attr/textColorSecondary"
@ -52,6 +53,7 @@
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:gravity="bottom" android:gravity="bottom"
android:layout_marginRight="3dip"
android:layout_below="@+id/date" android:layout_below="@+id/date"
android:layout_marginTop="3dip" android:layout_marginTop="3dip"
style="?android:attr/starStyle" style="?android:attr/starStyle"

View File

@ -898,7 +898,6 @@ public class MessageList
setContentView(R.layout.message_list); setContentView(R.layout.message_list);
mListView = (ListView) findViewById(R.id.message_list); mListView = (ListView) findViewById(R.id.message_list);
mListView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_INSET);
mListView.setLongClickable(true); mListView.setLongClickable(true);
mListView.setFastScrollEnabled(true); mListView.setFastScrollEnabled(true);
mListView.setScrollingCacheEnabled(false); mListView.setScrollingCacheEnabled(false);