[android] set bottom map buttons max width to 300dp #3353
No reviewers
Labels
No labels
Accessibility
Address
Android
Android Auto
Android Automotive (AAOS)
API
AppGallery
AppStore
Battery and Performance
Blocker
Bookmarks and Tracks
Borders
Bug
Build
CarPlay
Classificator
Community
Core
CrashReports
Cycling
Desktop
DevEx
DevOps
dev_sandbox
Directions
Documentation
Downloader
Drape
Driving
Duplicate
Editor
Elevation
Enhancement
Epic
External Map Datasets
F-Droid
Fonts
Frequently User Reported
Fund
Generator
Good first issue
Google Play
GPS
GSoC
iCloud
Icons
iOS
Legal
Linux Desktop
Linux packaging
Linux Phone
Mac OS
Map Data
Metro
Navigation
Need Feedback
Night Mode
NLnet 2024-06-281
No Feature Parity
Opening Hours
Outdoors
POI Info
Privacy
Public Transport
Raw Idea
Refactoring
Regional
Regression
Releases
RoboTest
Route Planning
Routing
Ruler
Search
Security
Styles
Tests
Track Recording
Translations
TTS
UI
UX
Walk Navigation
Watches
Web
Wikipedia
Windows
Won't fix
World Map
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps#3353
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "github/fork/arnaudvergnet/bottom-map-buttons"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the screen is larger than 300dp, bottom map buttons will align to the left as requested in #2905 (comment). This threshold can be edited in the
map_buttons_bottom_max_width
value.To make code easier to maintain, bottom menu buttons have been extracted into their own layout file.
Pixel 5
Nexus One
Pixel C
Thanks, Arnaud! Now as we started to test it and get feedback, there are several different ideas:
It would be interesting to use different layouts on different devices, by different people, and get some preliminary feedback.
Do you want to have less spacing between buttons, or are you only talking about portrait on tablets?
Moving them to the right might be easier to implement so we may stick with this first and get feedback.
I made the maximum width 300dp instead of 450dp and forced the menu to align to the right on portrait. As I only check the orientation, the menu is centered in tablet as well. Do you prefer to align the menu to the right no matter the orientation in tablet (meaning checking the available width instead of orientation) ?
Pixel 5
Pixel C
"I made the maximum width 300dp instead of 450dp "
So what is a final value?
Review: Commented
I like last screenshots.
Center in portrait and right in landscape.
Does Android have some system settings for left-handed people?
I did not push yet, I wanted to have feedback first
I know you can force the RTL layout from the developers options but I haven't looked more into it.
approved this merge request
changed title from [android] set bottom map buttons max width to {-45-}0dp to [android] set bottom map buttons max width to {+30+}0dp
mentioned in issue #3389