How to make a font in Android as big as the device width? -


I need to do the following and I do not know how: I want to write text like "12" on the screen Is in mode.

The challenge is, I want to make the font size equal to 90% of the width of the device screen.

Is this possible? The entire text should be 90% of the width of the device. When I add a character like "123", then scale it.

a textview size of text to fit the available space It gives, like that. If you set up TextView for the correct code, the auto-sizing feature will scale the text accordingly.


Comments