How to correctly set the font size depending on the diagonal / screen resolution?
In Designer->Script there is an ActivitySize parameter. What does it depend on (resolution or screen size)? The entire android device can be very different as 5 ”(1920x1080) or 10” (1280x720). Also, in the settings of some devices, you can change the font size, how will this affect the font size of the application?
Resolution without scale is meaningless.
ActivitySize is the same as the 5'' or 10'' that you wrote above. It is the activity (approximate) diagonal size in inches.
In most cases you don't need to do anything else other then to use AutoScaleAll. Create a single variant with the default settings and the font size will be scaled up on larger devices.
In most cases you don't need to do anything else other then to use AutoScaleAll. Create a single variant with the default settings and the font size will be scaled up on larger devices.
And initially, for what size screen to set the font size? For example, if I install a font for a 7 "tablet and write 222 in 111, then will the font adjust itself for 5" and 10 "devices?