Scale text - Android
On Android, you can use Scale-independent Pixels to scale text. This unit ensures that the user's preferences are taken into account when determining the font size. We recommend to define the textSize
in your styles to make sure it's the same everywhere.
<style name="Widget.TextView">
<item name="android:textSize">18sp</item>
</style>