MapViewer, Actionbar fixes, Database Viewer UI & Fallback MCC Location #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Increased Map Viewer default zoom level as it was too high, this should now provide a better display of the current location.
Invalidated the Actionbar/Menu display whenever the main activity is displayed to ensure the correct icons are displayed for the tracking indication.
Corrected the Signal Strength tracking indicator icon, this one is a good example of why I should not
code whilst drinking bourbon! :)
Tweaked the Database Viewer card display to use a darker colour scheme and gradient on the cards, I think this looks 100x better than the original white crappy display.
Map Viewer will now attempt a 3 step process to determine where to initially display the map:
The default locations are provided through the default_mcc_locations.csv file which is found in the
app/src/main/assets folder which lists Country, Mcc, Longitude and Latitude. These details are held within a database table and populated whenever the database is upgraded. This detail can also be viewed through the database viewer.