This is a simple UX for Android/WinCe Nextgen that I had posted here some while ago but it must of got lost in the last crash. I have only recently noticed it had gone.
Features -
1/ Automatically shows route progress bar when a traffic event is found on route.
2/ Distance to & number of next available exit on motorway (orange text + exit icon)
3/ Tunnel length ( blue text)
4/ Postal code (red text)
5/ House numbers ( purple text)
6/ Mute button (on/off)
7/ Auto zoom button (on/off)
8/ Long press on zoom button = shortcut to route settings
9/ Long press on mute button = shortcut to avoid route ahead
Spoiler: att
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ][Only registered and activated users can see links. ][Only registered and activated users can see links. ][Only registered and activated users can see links. ]
Last edited by morco; 6th March 2019 at 11:17 AM.
Reason: added an extra pic, added extra info
To change the position to the left or right, edit ' left: -1000% ' , a higher negative number will change it's position further to the left.
To change the height position, edit ' top: 20% ' , a lower number will raise it. (negative numbers can be used if needed).
Here is an example, these numbers should position the speedo to the left but below the 'next turn' image.
left: -1900%; top: 60%; right: 10%;
Spoiler: Extra info
The 'right: 10%' can be removed if you wish. This is part of a legacy position setting that I didn't get around to removing.
Once removed it will have quit a large impact on position but this can be easily compensated by lowering the left percentage number.
It's also possible to edit the 'align:"center";' (options = left, right), this will have an effect of aligning the speedo digits to one side or the other. Noticeable when the speedo changes from 1 to 2 or 3 digits.
Last edited by morco; 15th March 2019 at 05:44 PM.
1/
Creates a scale on the route progress bar, dividing the total route into 10 segments and also shows a calculated display of a one segment size in Miles/kilometres. (control on/off)
2/
Now the Route progress bar is automatically displayed when there is 1 or more waypoints on route as well as when there is a traffic event on route.
These added functions are not for all devices (see below) and have a few niggles like misalignment in simulation mode.
Unfortunately I have no time now to sort out further, but thought I would share as I find these functions quite useful.
Due to alignment issues, this added extra function will probably only work correctly on devices with a 1280x720 screen.
This function uses images that are only present in the xhdpi folder within the UX.
This post requires you to click the "LIKE this post" button and hit F5 to read this content.
Update 29/03/19, I have discovered more alignment issues with this update of my UX. In particular when travelling on motorway/ autoroute. I will need to do some more work on it and will update this post when done
This is the first of a number of posts to help people remove unwanted functions from my UX in post #2.
I will also try to include some explanatory info that might help people troubleshoot conflicts between my UX and other UX's, skins etc.
These first 2 functions I have already shown how to remove in another thread, but here it is again with more info.
1/
Function - Automatic pop up of route progress bar when there is a waypoint and/or a traffic event on route.
Only implement the route progress bar if the progress bar is switched on in the settings 'OR' there's a traffic event on route 'OR' there are more than 2 waypoints on route.
( Nextgen counts your starting point & finish point as waypoints)
original reads :-
Only implement the route progress bar if the progress bar is switched on in the settings 'AND' a route has been loaded 'AND' (can't remember this one) 'AND' is 'NOT' in pedestrian mode 'And' there are 2 or more waypoints on route.
AA - Alpha component [0..255] of the color
RR - Red component [0..255] of the color
GG - Green component [0..255] of the color
BB - Blue component [0..255] of the color
As you can see i have inserted 'MODEL.sound.playchanneltest("alarmeffect", MODEL.lua.SignPostDing())' This asks for a sound to be played when a sign post is showed. "alarmeffect" makes it a little louder.
'MODEL.SETPERSISTENT.lua.SignPostDing = WSTRING_MODEL(L"!nav_dingding")' provides the statement above, with which sound file to play.
It plays "!nav_dingding", this sound file can be found in data.zip Audio folder.
"Arrival delayed due to change in traffic" OR "Arriving sooner due to change in traffic" is then shown in the notification area of the screen.
As you can see i have inserted 'MODEL.sound.playchanneltest("alarmeffect", MODEL.lua.TrafficStatusAlarm())' in 2 places This asks for a sound to be played when either one of these two conditions are met.
'MODEL.SETPERSISTENT.lua.TrafficStatusAlarm = WSTRING_MODEL(L"!back")' provides the statement above, with which sound file to play.
It plays "!back", this sound file can be found in data.zip Audio folder.
notes
Spoiler: notes
~= is not equal to
== equal to
> greater than
>= greater than or equal to
< less than
<= less than or equal to
Last edited by morco; 16th November 2019 at 11:26 AM.
This is the 'Automatic Overview On/Off button' insertion and code for its function - 'ONRELEASE={invert(%lua.OverViewModeOn)}'.
Spoiler: note
1/
'ONLONGCLICK=sc_RouteSettings' - is a shortcut to the routesettings window, on long press of button
2/
~~~~~~~~~~~~~ is the '<TEXT CLASS="postcode" >' and the seven other entries that are atached to this button but are not part of its function. (Will be explained in a later post)
'visible%lua.muteb)'- This button is only visible if it has been selected 'ON', see morco_button.ui - <row text="Mute Button" type="ChkOnOff" isselected="lua.muteb" >
Only show the TMC event number if it is turned on in the morco settings 'window' 'AND' the number of traffic events are more than zero 'AND' that Nexgen is 'NOT' playing a simulated route.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
THE END
That took a lot longer than I had anticipated, I hope it will be of use/interest for some of you.
A custom version of my UX, that may be of interest to some can be found here (post #25).
It has a few other functions.
[Only registered and activated users can see links. ]
Last edited by morco; 16th November 2019 at 11:30 AM.
Bookmarks