mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 17:02:21 -05:00
ServerListAdapter: Updated color codes
This commit is contained in:
parent
8c5258710f
commit
97c382c893
@ -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>
|
||||
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user