-
Notifications
You must be signed in to change notification settings - Fork 1.9k
DisplayAlert Title not respecting FlowDirection #7065
Comments
I can't seem to reproduce this locally. Could you maybe specify what version of Android you are seeing this? Does this also happen on iOS? If at all possible could you show some code or maybe even a small sample repro project? Thanks! |
it's weird! I created a new project and it shows it right but in my project it shows the title LTR.. And what is funny that it is ONLY the Title of the DisplayAlert not the content itself! Although my new sample is just a copy paste from my existing code! |
Do you have any custom renderers in place? Anything else that might affect this behavior? I had to set the "is RTL supported" property in the AndroidManifest.xml, is that set? |
Nope... No custom renderers and the AndroidManifest has the RTL set |
Strange. Is it possible your repro project has a newer Forms version than the app that has the actual problem? |
@jrahma I'm wondering if it's due to something in your AndroidManifest.xml Do you have rtl set there? <application android:label="AndroidControlGallery" android:supportsRtl="true"> Also do you have bot the min and target sdks set?
Try setting android:minSdkVersion to 17 if you have it at a lower value |
here is my AndroidManifest.xml
and attached is a simple app with the problem: I noticed this problem happens when I set:
so should I set it or not if I am working on a localized RTL app? Thanks, |
OK, this is really weird. The bug actually happens whenever you do set |
DisplayAlert and DisplayActionSheet orientation is controlled by the device locale, rather than the FlowDirection property. Reference : https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/localization/right-to-left |
I still believe this can and this should be fixed |
this is still an issue, i am using xamarin forms 4.7 |
Hi,
When I set the page to RightToLeft's FlowDirection the title of the DisplayAlert still going to the LeftToRight
Please see below screenshot...
Thanks,
Jassim
The text was updated successfully, but these errors were encountered: