I am learning how to use android studio, and I'm enjoying it so far. However, I'm a little bit OCD, and the breakpoint column in my version of Android Studio is really wide and it's kind of annoying me. I can't figure out how to resize it! I first provided a screenshot of the instructor's Android Studio, followed by mine:
http://imgur.com/a/oLYQN
Thanks!
As far as I know, there is no direct way to change the size of the gutter.
From what I am able to see in the tiny portion of the screenshots, the difference between your gutter, and the instructor's, might be due to original screen resolution or Android Studio's version.
That said, there is one very simple way to indirectly change the size of the gutter by disabling the icons shown on it.
On Android Studio go to Preferences > Editor > General > Gutter Icons, and uncheck Show gutter icons. It will reduce the gutter size to something similar to what can be seen in the instructor's screenshot (although, he does have gutter icons).
Related
I have this weird problem with Android studio that's driving me crazy.
I have a new monitor, with a higher resolution (2560x1440), and on that monitor the toolbar menus looks small, they get reduced to 7 rows and I have no idea how to change this behaviour. So far it is the only software that does this, is there some settings where I can change the height of the menus?
I'm on Ubuntu 20.04 if it makes any difference.
(sorry for the picture I couldn't take a screenshot with the menu open)
You can change the font size of Android Studio UI. This might help.
File -> Settings -> Appearance and Behavior -> (Tick) Use Custom Font -> Set your desired font size at Right of the Use Custom Font option.
Checkout the Screenshot here
While I still don't know if the problem is solvable via any internal setting in Android Studio, I managed to resolve this issue by swapping my HDMI cable with a DisplayPort. What really puzzled me was the fact that only Android studio seemed to be affected.
I tired both "is.hidpi=false" and "hidpi=false". The first one doesn't fix it. The second one does, but it makes all other icons in Android Studio way too small for my display(23.8 inch 1440p monitor), so I can't really work well in any scenario. Do you have any suggestions?
I am using the visual editor in Android Studio. In there, the text is really big, like how I want it to be. But when I build it on a physical device it is default size.
Thanks in advance!
simply create many layout that support pixels make all your layout handle your show way
read this to understand the idea
https://developer.android.com/training/multiscreen/screensizes
and do this in your code then check the devices
https://stackoverflow.com/a/8256573/6998825
there's also something else you may have not noticed yet
in android studio Preview Layout you can choose your the preview device as your actual device or same as it.
this way the preview design will be same as your device. but for other devices you should have above answers in mind.
I updated Android Studio from version 3.0 to 3.0.1 and I encountered an unexpected error: the entire UI shrunk to unusable size. We're talking buttons, icons, text, the whole bit. The text size in the editor remains unaffected, but my buttons like "debug" and "avd manager" are now about half the size of my mouse pointer, if not smaller.
So is this a config I need to change? I reset to defaults on everything I could find to no avail. Has anyone else experienced this? What can be done?
Notes: On on Windows 10, I have a dual-monitor setup (problem exists on both), the window title bar is (obviously) unaffected, and all I did to get here was click the "update" prompt in the bottom right of Android Studio when it started. Everything was fine at that time.
Since AndroidStudio is based on IntelliJ, I searched a bit and found this on IntelliJ's support pages: Troubleshooting IDE scaling issues on Windows.
Check it out, I hope it helps.
I'm wondering why in every tutorial I watch the preview section looks like this: i.e it has the actual device shown as preview and has a button for linking it to an activity
When mine looks like this: for some reason doesn't have the device
I'm sure I've just not installed something correctly or not clicked a checkbox, or a version of something is wrong but after some googling i can't seem to work out what it is. Any help would be greatly appreciated.
Newer versions of Android Studio do not show the device bezel by default. Everything looks installed correctly.
Look at the Android Studio window title.
Your video is using 2.0 Beta, and your newer version just doesn't have the bezel.
You'll also notice there's different buttons around the screen preview area.
You could disable it in older versions, I'm not sure if it's completely gone but it was probably removed because it took up screen space and didn't serve much purpose