Closed aikrq closed 1 year ago
For unknown reasons, I couldn't use the medium variant of the Inter font to display the title of the resource installation fragment. Setting the android:textStyle="bold"
attribute made the text too bold, which wasn't suitable for my purposes. Therefore, I decided to leave it as it was.
I believe the reason for this issue is that the font has been set globally in the application theme, and changing it may affect other UI elements. I don't want to take the risk of changing this attribute in the theme and causing potential problems.
Looks alright
Have you tried android:fontWeight="medium" instead? And something like that, i think? https://stackoverflow.com/questions/46589519/how-to-use-specified-weights-for-fonts-in-xml
If it's still not working, then you will have to add custom font with medium weight, because some of default ones supports only "regular" and "bold".
Anyways, using medium font in plain text manages it to be looking really much better than with the bold one
Have you tried android:fontWeight="medium" instead? And something like that, i think? https://stackoverflow.com/questions/46589519/how-to-use-specified-weights-for-fonts-in-xml
If it's still not working, then you will have to add custom font with medium weight, because some of default ones supports only "regular" and "bold".
Anyways, using medium font in plain text manages it to be looking really much better than with the bold one
Note that this android:textFontWeight
attribute has been available since API level 28.
Improved App UI, fixed some bugs.
If something does not suit you, then feel free to write what I need to change to suit you.
Screenshots: