Accessibility changes on Android
Opened this issue · 3 comments
Platform (please complete the following information):
- OS: [Android]
- Device: [AndroidEmulator]
- Sdk vervion: [Android SDK 31]
- Xamarin.Forms: [5.0.0.2515]
Describe the bug
Changing the accessibility options (Font size or Display size) results in corrupted UI. Some settings in the CollectionView are not reflected if the user changes display size from default to larger for example and the system restarts the activity. It is difficult to explain, because the bahavior of the CollectionView depends on muliple factors. Just test it with you sample app!
One example with horizontal collectionview:
Set Font size and Display size to default
Set ItemSpacing to 15
Start App --> Item space is as expected
Leave app open, change Display size to larger and return to app
Item space is larger --> expected
Close app (remove from recent apps)
Start app again.
Item spacing is now back to default --> should be larger
This only one example. There are other things. Like ItemHeight on a horizontal collectionview, which is never scaled up, if display size changes.
Screenshots (if applicable)
Here a screenshot from a vertical collection view. Started app with default screen size then changed it to larger. This results in empty space on the right border.
If you start the app with larger display size and change to normal, than the elements flow out of bounds (width is greater tham display width)
Why is your Xamarin Forms so old? you are like 2 major revisions out
Why is your Xamarin Forms so old? you are like 2 major revisions out
Just forgot to update the default in the issue template.
Why is your Xamarin Forms so old? you are like 2 major revisions out
Just forgot to update the default.
I would wager your issue is that