1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 02:42:16 -05:00

ServerListAdapter: Updated color codes

This commit is contained in:
Sebastian Kaspari 2011-02-11 12:54:48 +01:00
parent 8c5258710f
commit 97c382c893
2 changed files with 5 additions and 5 deletions

View File

@ -60,7 +60,7 @@
<string name="validation_title_used">Es existiert bereits ein Server mit diesem Titel</string>
<string name="validation_blank_nickname">Nickname darf nicht leer sein</string>
<string name="validation_blank_ident">Ident darf nicht leer sein</string>
<string name="validation_blank_realname">Echter Name dary nicht leer sein</string>
<string name="validation_blank_realname">Echter Name darf nicht leer sein</string>
<string name="validation_invalid_nickname">Ungültiger Nickname</string>
<string name="validation_invalid_ident">Ungültiger Ident</string>

View File

@ -136,11 +136,11 @@ public class ServerListAdapter extends BaseAdapter
hostView.setText(server.getIdentity().getNickname() + " @ " + server.getHost() + " : " + server.getPort());
if (server.isConnected()) {
titleView.setTextColor(0xFFcecfce);
hostView.setTextColor(0xFFcecfce);
titleView.setTextColor(0xFFbcbcbc);
hostView.setTextColor(0xFFbcbcbc);
} else {
titleView.setTextColor(0xFF767776);
hostView.setTextColor(0xFF767776);
titleView.setTextColor(0xFF585858);
hostView.setTextColor(0xFF585858);
}
((ImageView) v.findViewById(R.id.status)).setImageResource(server.getStatusIcon());