How to increase the font size of method trace view in Android Studio?
I figure out they just hardcoded font size to 8. So there is only a very weird solution with patching Android Studio jar files.
Steps:
- Find
/Applications/Android Studio.app/Contents/plugins/android/lib/sdk-tools.jar
- Copy it somewhere else(do not forget to make a backup in case something goes wrong).
- Unzip it and pick
com/android/tools/perflib/vmtrace/viz/CallHierarchyRenderer.class
- Take any hex editor and replace byte sequence
0504 4100
with0504 4180
(actually, you replace 8 in class constant pool with 24) - Pack modified class back
jar uf sdk-tools.jar com/android/tools/perflib/vmtrace/viz/CallHierarchyRenderer.class
- Copy patched sdk-tools.jar back to its original location
Before
After