Skip to content

Accessibility changes on Android #88

Description

@AlleSchonWeg

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.
image

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions