-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use vector icon for occupancy * Switch LinearLayouts to ConstraintLayouts to hold occupancy views * Realign chevron in vehicle marker balloon - Caveat - "the actual position of the view stays at the original position (before translation), it will be translated only visually. Thereby, onClick events will be only triggered from within the old position. See https://stackoverflow.com/a/51652722/937715." This is ok for us because the entire layout is one giant hit target based on what the Google Maps API supports for marker balloons, so we can't even detect the hit target for the chevron itself. * Parse responses for arrivals-and-departures-for-stop, trip-details, and trips-for-route APIs * Add occupancy visibility and color unit tests - Note that directing inflating views doesn't seem to work in unit tests with getContext() or getTargetContext() so we'll use the adapter here instead to do it for us * Add occupancy content description utility method and unit tests * Add "About occupancy" menu option for arrivals list * Add real-time occupancy About placeholder text - This should be replaced with icons after the design is finalized * Reformat XML and add tools text * Also do cleanup for hard-coded strings for debugging, extra imports, whitespace
- Loading branch information
Showing
38 changed files
with
7,125 additions
and
456 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.