What's the equivalent of TextStyle(includeFontPadding = false) in Android Views?

In Classic Android, use:

android:includeFontPadding

Jetpack Compose

TextStyle(includeFontPadding = false)

Classic Android

android:includeFontPadding

Dispatch Newsletter
Get the complete migration cheatsheet in your inbox
Curated Insights
Digest in 5 minutes or less
Android Analysis
Entertaining takes on happenings
Insider Tips
From top Android developers
Hidden Gems
You won't find elsewhere
"
"Thanks for taking the time and energy to do it so well!"
— Sebastian Lobato Genco
Android Engineer @ Q42
Join thousands of Android devs who look forward to Dispatch every week