We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, i'm going to the readme: https://github.com/AvaloniaUI/AvaloniaMauiHybrid#embedding-maui-controls-inside-of-the-avalonia-app but when i start the android app i get an exception:
Java.Lang.IllegalArgumentException: 'The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).'
If i comment out the maui button the project works:
<mauiControls:Button Text="Maui Button" />
AvaloniaApplication1.zip
The text was updated successfully, but these errors were encountered:
Some default MAUI controls require MaterialComponents theme to be applied in the app. You can edit what theme is used in your app:
Change your styles.xml like this:
<style name="MyTheme.NoActionBar" parent="@style/Theme.AppCompat.DayNight.NoActionBar">
to
<style name="MyTheme.NoActionBar" parent="Theme.MaterialComponents.DayNight.NoActionBar">
Sorry, something went wrong.
Updated readme instruction. Thank you for noticing it.
No branches or pull requests
Hi,
i'm going to the readme: https://github.com/AvaloniaUI/AvaloniaMauiHybrid#embedding-maui-controls-inside-of-the-avalonia-app
but when i start the android app i get an exception:
If i comment out the maui button the project works:
AvaloniaApplication1.zip
The text was updated successfully, but these errors were encountered: