1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-11 21:58:35 -05:00

non-downloaded messages once again have a grey background.

Fixes Issue 899
This commit is contained in:
Jesse Vincent 2009-12-20 06:54:30 +00:00
parent 7e967c6110
commit e82bb72a97
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
android:layout_height="38dip" android:layout_height="38dip"
android:paddingRight="1dip" android:paddingRight="1dip"
android:paddingTop="2dip" android:paddingTop="2dip"
android:background="@android:color/transparent" android:background="#cccccc"
> >
<LinearLayout android:id="@+id/widgets_right" <LinearLayout android:id="@+id/widgets_right"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@ -1926,9 +1926,10 @@ public class MessageList
holder.position = -1; holder.position = -1;
holder.selected.setChecked(message.selected); holder.selected.setChecked(message.selected);
holder.chip.getBackground().setAlpha(message.read ? 0 : 127);
if (message.downloaded) if (message.downloaded)
{ {
holder.chip.getBackground().setAlpha(message.read ? 0 : 127);
view.getBackground().setAlpha(0); view.getBackground().setAlpha(0);
} }
else else