Android Studio with two monitors - android

I installed Android Studio 0.8.2
I am not able to get it working with two monitors.
If I have the main application in the left monitor, I want to be able to have the other windows like Event Log,Messages, etc.. docked together in the right monitor.
I can get the windows over to the right, but only if I check floating on the window. And when I do get the window over there to the right, when I click anywhere back on the left monitor, the windows in the right monitor disappear.
I am also not able to figure out how to dock multiple windows together in the right monitor.
I was able to do all of this very easily with Eclipse.
Should I just go back to Eclipse?

Have a look at the official documentation for Tool Windows.
In particular, you may want to refer to the Viewing Modes's Fixed / floating mode section on how to disable transparency for floating windows. Tool windows should not disappear when they lose focus, but they can become semi-transparent.
Additionally, you can have a read through this article which provides a lot of useful information for Eclipse users when switching to IntelliJ IDEA / Android Studio.

If you intent to have dual monitors run android studio.
Open the main screen of AS in your primary monitor.
Select the bar which you want to drag to secondary monitor.
Hit Right click and you should get the following options: Floating Mode, Docked Mode etc..
Select Windowed Mode & you should have a your desired in windows mode
Drag the window to secondary monitor.

Drag the debug window to another monitor, maximize and select Pinned from the settings (gear button top right).
So Pinned mode and Floating mode should be enabled.

With 3.5.0
Just drag the editor tab to the new monitor.
It should turn into a window.
Then you have the main window that holds the docked tool window(s) and a separate editor window.

For Android Studio 3.4.2
Click Window/Active Tool Window/Floating Mode
Now you can drag windows to the second monitor.

Related

How to remove the device's frame on Visual Studio Emulator?

I only need what's relevant for the development and testing. I don't need the huge "emulated" dumb bezel area mostly good for grabbing and relocating the emulator window. Even the real devices start to eliminate those bezels nowadays.
I don't need the directional clues about the device orientation it provides. Just small grabbing handle should be enough on the tool strip or in the main window.
It wastes screen real estate and makes tiling besides other useful windows hard or inefficient (even with my double monitor setup).
How can i hide or remove it?
It no longer works: if I remove the properties (using the small trash button or leaving them empty), the manager will restore them. (My version: Xamarin.Android SDK 10.2.0.100)
But I've found another solution:
Open Android Device Manager from Visual Studio.
While your device is powered off, click the "..." in the top right corner
Select "Show in explorer"
Edit the file "config.ini"
Remove the skin.name and skin.path properties and save file
Start the device!
Open Android Device Manager from Visual Studio.
While your Device is powered off Click Edit
Find the property skinname and clear the value (leave empty)
Find the property skinpath and clear the value (leave empty)
Click Save & Start Device.
Worked for me
Show in Explorer now called : Reveal in Explorer
And you can just add // before skin for example:
//skin.name=pixel_xl
Open Android Studio -> Tools -> AVD Manager -> Pencil Icon next to Your Virtual Device -> Uncheck 'Show device frame'

Android Studio emulator gets stuck minimised in task bar

I am using Android Studio on Ubuntu 16.04. The AVD emulator starts fine, and I can install apks on it. However, if I change to a different workspace, minimise the emulator, or even click on another window, backrounding the emulator, it appears to minimise(only visible in the task bar), and from then on, it will not maximise again. Clicking on it in the bottom task bar makes it appear for a split second before minimising again. I haven't had this problem with any other window. Anyone know how to fix it?
So far I have tried:
Setting the emulator window to always stay on top
answer to install various libs that have helped people with similar AVD problems
Starting the emulator from the command line
For Windows use:
If a window won’t maximize, press Shift+Ctrl and then right-click its icon on the taskbar and select Restore or Maximize, instead of double-clicking on the icon.
I have found a workaround. By clicking into the window menu from the very top left of the emulator window, I set the emulator to both 'always be on bottom' AND always appear in all workspaces. This way, switching workspaces doesn't have any effect on the emulator, and keeping it to the bottom layer means I can open other programs in other workspaces and not have the emulator in the way. I just can't ever minimise it. It's not ideal, but at least I can do my work!
In the bottom left corner of Android studio, there is a squared icon that allows you to see all Panles. it includes also Emulator. By selecting it, I was able to have my Emulator back on screen (view mode: float).

How to minimize or maximize part of window in android studio (shortcut)

Well, as you know, Google has shown Android Studio! And I would like to know how to minimize or maximize part of window in Android Studio using shortcut. I can minimize or maximize part of window using double click to tab. For example, in Eclipse it's CTRL + M to minimize or maximize part of window .
P. S. Sorry for my English. It isn't my natural language.
The closest shortcut to your expected outcome that I know of is Ctrl+Shift+F12. This will toggle between minimising and restoring the tool windows.
Also, you can use Shift+Esc to hide bottom and side panels like android monitor (logcat and other debug stuff), terminal, etc.
You can set the same keyboard shortcut as of Eclipse in Android Studio as well.
To do that go to Preferences/Settings of Android Studio. In the left pane navigate to Keymap.
In the search bar on the right pane type Hide All Tool Windows. Double click on the result -> Add Keyboard Shortcut -> Enter the keyboard shortcut you want. In your case, Ctrl+M and save.
This will assign the same shortcut as of Eclipse to Android Studio.

How to always keep Android Studio Tool Windows in Un Docked Mode

I recently switched to Android Studio and noticed that the tool windows have a Docked Mode option when I click on the little Gear icon in each tool window.
I personally prefer the Un-Docked Mode(as the tool window minimizes conveniently when I click in the editor) and set every tool window(except the Project Explorer) to be Un-Docked.
But every time I restart Android Studio it irritatingly converts all Tool Windows back to Docked Mode.This was very easy to do in Eclipse but after searching online for quite a bit, I still don't know how to save the UnDocked mode for Tool Windows in Android Studio. Any ideas how to solve this?
Today's update to Android Studio 0.5.5 fixed the problem for me! Now Android Studio always remembers to save the state of the tool windows!
Unlike #kpsfoo, I want the tool window on the docked mode, but I did something and wasn't able to go back... Finally I went to file > settings > I did search for "docked" in the search box and created a keyboard shortcut. This way I'm able to quickly switch on and off the docked mode.
I hope it could help somebody...

Stop Eclipse from opening Logcat when running an Android app

When doing Android development in Eclipse and running an application, my perspective stays in 'Java' but the LogCat view still opens in the sidebar (the one on the right where the Outline view is).
I don't want LogCat to open, it's annoying. If I want to look at it I can switch perspectives to DDMS.
Go to the Android > LogCat section of Eclipse's Prefereneces window and try adjusting settings in there:
In particular, the bottom two checkboxes look promising for adjusting this behavior.

Categories

Resources