[Android] Transit steps info is now scrollable. #5885

Merged
root merged 3 commits from transit-routing-info-scrolling into master 2023-09-12 07:56:02 +00:00
Member

In case of big number of ruler steps bottom panel becomes too big. See #5880 for sample

Added scrolling to the panel layout.

Result:
https://github.com/organicmaps/organicmaps/assets/720808/0ec1b719-588a-444d-a556-6bc167d3ff88

Note: this is temporary solution. The best approach is to draw segment length on the map itself.

In case of big number of ruler steps bottom panel becomes too big. See #5880 for sample Added scrolling to the panel layout. Result: https://github.com/organicmaps/organicmaps/assets/720808/0ec1b719-588a-444d-a556-6bc167d3ff88 **Note:** this is temporary solution. The best approach is to draw segment length on the map itself.
strump reviewed 2023-08-31 18:47:41 +00:00
Author
Member

Replaced RelativeLayout with ConstraintLayout because is supports max height constraint.

Replaced `RelativeLayout` with `ConstraintLayout` because is supports max height constraint.
strump reviewed 2023-08-31 18:48:19 +00:00
Author
Member

RecyclerView height is limited by 150dp.

`RecyclerView` height is limited by 150dp.
Jean-BaptisteC (Migrated from github.com) requested changes 2023-09-02 14:23:47 +00:00
Jean-BaptisteC (Migrated from github.com) left a comment

Pixel 6 - Android 13

Bottomsheet overlap buttons

❌ Pixel 6 - Android 13 Bottomsheet overlap buttons <img src="https://github.com/organicmaps/organicmaps/assets/87148630/de540f97-908b-494c-a9cf-364c97c308db" height=300 />
Jean-BaptisteC (Migrated from github.com) approved these changes 2023-09-06 07:27:02 +00:00
Jean-BaptisteC (Migrated from github.com) left a comment

Pixel 6 - Android 13

I have see another problem, but I don't know if can be fix easily

When I create ruler routing and select POI present in routing, OM open place page and buttons follow place page and not bottomsheet routing

✅ Pixel 6 - Android 13 I have see another problem, but I don't know if can be fix easily <img src="https://github.com/organicmaps/organicmaps/assets/87148630/f8f03f33-49b8-4b02-90fd-bafa9b8b282a" height=300 /> When I create ruler routing and select POI present in routing, OM open place page and buttons follow place page and not bottomsheet routing
vng (Migrated from github.com) reviewed 2023-09-08 21:28:44 +00:00
vng (Migrated from github.com) commented 2023-09-08 21:28:03 +00:00

nit: Move comment up before final ScrollView parentScroll = ...

nit: Move comment up before final ScrollView parentScroll = ...
@ -210,6 +213,8 @@ final class RoutingBottomMenuController implements View.OnClickListener
rv.addItemDecoration(mTransitViewDecorator);
rv.setAdapter(adapter);
adapter.setItems(pointsToRulerSteps(points));
vng (Migrated from github.com) commented 2023-09-08 21:28:37 +00:00

nit: Add function like updateScroll() to avoid copy-paste?

nit: Add function like updateScroll() to avoid copy-paste?
strump reviewed 2023-09-12 06:20:34 +00:00
@ -210,6 +213,8 @@ final class RoutingBottomMenuController implements View.OnClickListener
rv.addItemDecoration(mTransitViewDecorator);
rv.setAdapter(adapter);
adapter.setItems(pointsToRulerSteps(points));
Author
Member

Introduced new method.

Introduced new method.
biodranik (Migrated from github.com) approved these changes 2023-09-12 07:55:38 +00:00
biodranik (Migrated from github.com) left a comment

Thanks! What about iOS?

Thanks! What about iOS?
This repo is archived. You cannot comment on pull requests.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#5885
No description provided.