Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Typography font is not applied when using mdc theme #98

Open
narayan07feb opened this issue Sep 16, 2022 · 2 comments
Open

Typography font is not applied when using mdc theme #98

narayan07feb opened this issue Sep 16, 2022 · 2 comments

Comments

@narayan07feb
Copy link

narayan07feb commented Sep 16, 2022

I have tried the given sample of this repository. everything looks good and all attributes from the XML theme showing correctly in compose except the font family.

@narayan07feb
Copy link
Author

I have analysed and found that TextAppearance.MaterialComponents.Headline3 as a parent theme and using android:fontFamily attribute ignored by compose text
compose issue

but with fontFamily attributes it is working fine

Screenshot_20220916_154957

@VVFY
Copy link

VVFY commented Jun 23, 2023

Same issue while migration, even in new accompanist libraries.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants