Added fake icons for railways and pedestrian
This commit is contained in:
parent
f1c98ab090
commit
a39a5a71e0
3 changed files with 4 additions and 0 deletions
BIN
OsmAnd/res/drawable-hdpi/warnings_pedestrian.png
Normal file
BIN
OsmAnd/res/drawable-hdpi/warnings_pedestrian.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
OsmAnd/res/drawable-hdpi/warnings_railways.png
Normal file
BIN
OsmAnd/res/drawable-hdpi/warnings_railways.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
|
@ -743,6 +743,10 @@ public class RouteInfoWidgetsFactory {
|
|||
locimgId = R.drawable.warnings_stop;
|
||||
text = "";
|
||||
//text = "STOP";
|
||||
} else if(alarm.getType() == AlarmInfoType.RAILWAY) {
|
||||
locimgId = R.drawable.warnings_railways;
|
||||
} else if(alarm.getType() == AlarmInfoType.PEDESTRIAN) {
|
||||
locimgId = R.drawable.warnings_pedestrian;
|
||||
}
|
||||
visible = (text != null && text.length() > 0) || locimgId != 0;
|
||||
if (visible) {
|
||||
|
|
Loading…
Reference in a new issue