I have been working with compose and when i was cr...
# compose-android
s
I have been working with compose and when i was creating a new screen, suddenly the text on that screen seemed to be smaller than intended font size. I have used same font size on different screens with compose and it works fine.
t
Are you looking at the screen's preview? Maybe the preview functions are not wrapped with the application's theme?
s
No it was not on preview but on the installed app. I also initially thought it was a theme issue but i am actually thinking it could be device specific becoz trying it on emulator and other device were showing the Ui as intended. My device: Samsung s24 ultra Emulator: Nexus 5 Api 33
👀 1
c
Can you post screenshots of what you expect and what is actually happening!?
s
Sorry i just found out that the weird behavior was happening due to the system font size and i have to override it to provide custom resources in my activity. Thanks for the support 😄.
💀 1