material-components-android-compose-theme-adapter icon indicating copy to clipboard operation
material-components-android-compose-theme-adapter copied to clipboard

Typography font is not applied when using mdc theme

Open narayan07feb opened this issue 2 years ago • 2 comments

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 avatar Sep 16 '22 06:09 narayan07feb

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

narayan07feb avatar Sep 16 '22 10:09 narayan07feb

Same issue while migration, even in new accompanist libraries.

VVFY avatar Jun 23 '23 15:06 VVFY