tomrozb
tomrozb

Reputation: 26271

Android Studio HiDPI support for Linux

I'm struggling with HiDPI support of Android Studio 2.1.3 for Linux Mint. What I know it should be possible to enable Android Studio's HiDPI support by adding -Dhidpi=true flag to /opt/android-studio/bin/studio64.vmoptions Unfortunately it doesn't change anything on my machine, the UI is still very small.

Upvotes: 4

Views: 3029

Answers (3)

Alexander Remesch
Alexander Remesch

Reputation: 623

In my case, changing the font size in Android Studio 2023.3.1 RC2 (Jellyfish) on Linux Mint 21.3 partially worked (see https://intellij-support.jetbrains.com/hc/en-us/articles/360007994999-HiDPI-configuration for more information):

  1. Go to Settings > Appearance and Behavior > Appearance > Use custom font (or Customize > Accessibility in case you have no projects open)

  2. Set font size to 24 (on a 4k display this setting worked for me)

However, in this case the font size in the editor tabs remained too small.

Resetting the "use custom font" checkbox and setting Settings > Appearance and Behavior > Appearance > Zoom to 175% fixed the scaling.

Upvotes: 0

notz
notz

Reputation: 2467

Android Studio 2.3 has HiDPI support out of the box

Upvotes: 0

JonasVautherin
JonasVautherin

Reputation: 8053

I had the same problem, and I did not manage to "enable" hidpi for Android Studio.

Therefore, I run Android Studio like so:

$ xrandr --dpi 192; android-studio&

Or whatever you prefer instead of 192, of course.

Upvotes: 9

Related Questions