How to enable Editor pinch to zoom in Android Studio? - android-studio

As a Mac user, you can pinch to zoom the editor in Android Studio because is based on IntelliJ.
But I can't do that anymore in the latest Android Studio version (4.1)
I've already tried:
checked Change font size with Command + Mouse Wheel in Editor > General
checked actionSystem.mouseGesturesEnabled in Android Studio Registry
No luck at all.
Does anyone have any solution?

I have found a way to Zoom in Android Studio 4.1.1 in macOS 11.1.
open Settings with cmd+,
on search field in top left corner write: mouse
select Editor -> General
in Mouse Control area select: Chance font size with Command+Mouse Wheel
click in OK Button
General Editor Settings
After this configurations I was able to zoom pressing cmd+two fingers on trackpad.
[]'s

Related

How to view this missing toolbar/window in android studio?

The space at the top in android studio where recently opened java and xml files(I have marked that in my image) are shown has disappeared in my MacBook. How to bring it back?
At the top toolbar Window> Editor Tabs > Tabs Placement > Top.
that's should fix it.

Why Android Studio icon in windows taskbar automatically changes?

When I installed Android Studio in my Windows 10 pc, then icon for Android Studio used to be this :
But after a few days, icon has changed itself into this :
How to fix this?
In your taskbar, right click -> Properties -> Untick Use small taskbar icons. (With similar meaning, I don't know the exact original text in English).
The icon file of Android Studio, $ANDROID_STUDIO/bin/studio.ico, is an icon file containing 6 pictures, using the size of visible area to decide which one to use. Asking the taskbar NOT to use small icon will solve your issue.
This bug has been fixed, just delete the studio.ico file and it will work.

AndroidStudio mouseover warnings - need to Change key stroke for more info

In Android Studio, warnings aredisplayed when I move my mouse over the relevant bit of code, with instructions to press ctrl-F1 for more info.
I have ctrl-F1 mapped in the window manager.
Is there a way to change the required key-command in Android Studio?
You can change the Keyboard Shortcuts in:
File -> Settings -> Keymap
There you can search for "Error Description" to change the edit the Keyboard Shortcut.

After upgrading to Android Studio 2.0, I cannot change the screen orientation in the Android emulator

Recently I upgraded the Android Studio from 1.5.x to 2.0 stable version.
Before the upgrade I was changing the screen orientation with the Ctrl + F12 or Ctrl + F11 keyboard shortcut but now it doesn't work in the 2.0 version. I also tried Numpad 7 and Numpad 9 (with the numpad on or off) but without success.
Yes, I'm aware that the new Android AVD interface contains a sidebar with various functional shortcuts which includes Rotate left (Ctrl + Left) and Rotate right (Ctrl + Right) icons but it rotate only the the device not the mode (Landscape or Portrait) as it showed in the image below:
How can I change emulator screen orientation to landscape or portrait in the new Android Studio 2.0?
P.S. Please do not mark my question as duplicate, I tried all the solutions from How do I change screen orientation in the Android emulator? and How to rotate the Android emulator display? as those questions were valid for earlier versions of Android Studio.
P.P.S. I'm using Ubuntu 14.04 operating system on a Samsung R530 notebook.
It seems to be a bug. Please check out https://code.google.com/p/android/issues/detail?id=206262 and report the observed behavior.
Edit: Fixed in SDK Tools 25.1.6
This is not a real solution, but if anything don't work, it's good workaround. Just add screenOrientation property to activity in the Manifest file.
<activity
android:name=".MainActivity"
android:screenOrientation="landscape"
/>
After upgrading my operating system from Ubuntu 14.04 to Ubuntu 16.04 the bug disappeared and the Rotate left (Ctrl + Left) and Rotate right (Ctrl Right) works fine.

Android Studio Not Showing Colors

I was using android studio for layers theme and it was easy to theme with android studio as i can see the colors in studio itself on left side check the screenshot what i was referring
but in CM13 template i dont know whats wrong its not showing colors. i am new to android studio is there something wrong?
happened to me in my Mac:
go to File uncheck powersaver mode if u have kept it checked.
Goto Preferences->Appearances and enable Show CSS color preview as background.
That should do the trick.

Resources