-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Android/iOS] support locale LayoutDirection on MasterDetailPage #3992
Conversation
build |
Can we add iOS screenshots too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm usure about this. do we follow device's RTL setting usually, or do we only follow our own FlowLayout property ?
Apparently we only follow our own FlowLayout property and ignore device RTL... |
@paymicro can you rebase to fix conflict please |
We need to make sure that we keep this statement true:
|
@rmarinho yes. Set |
"This PR is fixes if FlowDirection has not been set or it has been set" But I think we should not settle locale if the user didn't specified |
This is not the correct fix. We don't want to use the device locale automatically. We want the user to do that explictly if that is what they want to do. We need to figure out why the hamburger button doesn't respect the FlowDirection property instead of trying to set the FlowDirection property based on the device locale. Thanks! |
@samhouts I need only the navigation menu of MasterDetail page stay on rightToLeft side, everthing else stay on leftToRight, how can I succed after this update? because when I was targeting to version 3.4 working very well. |
Description of Change
Support locale LayoutDirection on MasterDetailPage.
Issues Resolved
API Changes
None
Platforms Affected
Behavioral/Visual Changes
Controls of MasterDetalPage shown on the correct side.
Before/After Screenshots
Screencast:
http://recordit.co/nlOXpzGDrU
Android
Before
After
iOS
Before
After
Testing Procedure
Android
iOS
PR Checklist