Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change font size by adb command

Is there an ADB command to change the devices font size?

I want to be able to change the font to any one of the options found in the UI (small, medium, huge)

like image 857
karthick23 Avatar asked Sep 21 '15 10:09

karthick23


People also ask

How do I resize the font size?

To change your display in Windows, select Start > Settings > Accessibility > Text size. To make only the text on your screen larger, adjust the slider next to Text size. To make everything larger, including images and apps, select Display , and then choose an option from the drop-down menu next to Scale.

Which is the correct syntax to change the font size in Android?

Go to File -> Settings -> Editor -> Font -> Size.

How do I reduce text font size on android?

Change Font Size for Android Text MessagesOpen “Settings.” Select “Display.” Tap “Advanced,” then choose “Font Size.” Use the slider to adjust the size.


1 Answers

Working method to change the font scale (Tested on android 7.1.1):

adb shell settings put system font_scale {float_representing_the_scale}

The font scales that are presented in the settings application: (as per android 10)

  • Small - 0.85
  • Default - 1.0
  • Large - 1.15
  • Largest - 1.30
like image 196
Alonme Avatar answered Nov 01 '22 18:11

Alonme