# HG changeset patch # User Philippe Lago # Date 1245748940 -7200 # Node ID 673ee3896d50c5af6d8b9be1333e32a59dd0ee3d # Parent 68eb7cb08ba3ca945fe3bb9a309cca6c4f136a32 Petite modification couleur texte diff -r 68eb7cb08ba3 -r 673ee3896d50 res/layout/sendim.xml --- a/res/layout/sendim.xml Mon Jun 22 22:29:03 2009 +0200 +++ b/res/layout/sendim.xml Tue Jun 23 11:22:20 2009 +0200 @@ -56,6 +56,7 @@ android:scrollbarSize="12dip" android:layout_weight="1"> diff -r 68eb7cb08ba3 -r 673ee3896d50 res/values/colors.xml --- a/res/values/colors.xml Mon Jun 22 22:29:03 2009 +0200 +++ b/res/values/colors.xml Tue Jun 23 11:22:20 2009 +0200 @@ -2,5 +2,5 @@ #A0C8FF #000000 -#FFFFFF + #FFFFFF \ No newline at end of file diff -r 68eb7cb08ba3 -r 673ee3896d50 src/com/beem/project/beem/ui/ContactList.java --- a/src/com/beem/project/beem/ui/ContactList.java Mon Jun 22 22:29:03 2009 +0200 +++ b/src/com/beem/project/beem/ui/ContactList.java Tue Jun 23 11:22:20 2009 +0200 @@ -310,10 +310,12 @@ if (curContact != null) { ImageView imgV = (ImageView) view.findViewById(R.id.contactliststatus); + TextView v = (TextView) view.findViewById(R.id.contactlistpseudo); Drawable imageDrawable = null; switch (curContact.getStatus()) { case Status.CONTACT_STATUS_AVAILABLE: imageDrawable = getResources().getDrawable(R.drawable.online); + v.setTextColor(getResources().getColor(R.color.white)); break; case Status.CONTACT_STATUS_AVAILABLE_FOR_CHAT: imageDrawable = getResources().getDrawable(R.drawable.chat); @@ -336,7 +338,6 @@ } imgV.setImageDrawable(imageDrawable); - TextView v = (TextView) view.findViewById(R.id.contactlistpseudo); if (v != null) { v.setText(curContact.getName()); }