-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Allow to use system fonts #15010
Conversation
Thank you for your pull request. We are auto-formatting your source code to follow our code guidelines. |
@jsuarezruiz these changes cause an exception to be thrown several times on startup in an app I've been testing:
maui/src/Core/src/Fonts/FontManager.Android.cs Lines 127 to 128 in 503b534
(NOTE: I changed the above to On a Pixel 5,
I open the Shell flyout in this app to see these: https://github.com/supershopping/ShellFlyoutLagging Is there something going wrong here? |
I think you found this one: #13239 https://github.com/dotnet/maui/blob/main/src/Controls/src/Core/Platform/Android/BottomNavigationViewUtils.cs#L218 |
Ok, I think we should add a couple more cases: #15759 It seems to help performance to avoid these lookups. |
Description of Change
Allow to use Android system fonts directly.
Issues Fixed
Fixes #11422