mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 23:09:50 +00:00
fix line colors
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@42 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
51f6d38d57
commit
6af2a24deb
6 changed files with 41 additions and 6 deletions
|
@ -555,7 +555,7 @@ public final class VbbProvider implements NetworkProvider
|
|||
throw new IllegalStateException("cannot normalize line " + line);
|
||||
}
|
||||
|
||||
public static final Map<String, int[]> LINES = new HashMap<String, int[]>();
|
||||
private static final Map<String, int[]> LINES = new HashMap<String, int[]>();
|
||||
|
||||
static
|
||||
{
|
||||
|
@ -670,4 +670,9 @@ public final class VbbProvider implements NetworkProvider
|
|||
LINES.put("RRB91", new int[] { Color.parseColor("#A7653F"), Color.WHITE });
|
||||
LINES.put("RRB93", new int[] { Color.parseColor("#A7653F"), Color.WHITE });
|
||||
}
|
||||
|
||||
public int[] lineColors(final String line)
|
||||
{
|
||||
return LINES.get(line);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue