What is the bar that shows which method my cursor is in called and where did it go when I upgraded to Android Studio 3.1.0 - android-studio

There used to be this helpful bar at the top of my Android Studio Editor, below the file tabs, which showed which method the cursor was in. I'm finding that I'm desperately missing it since upgrading to Android Studio 3.1.0 from Android Studio 3.0.1. I couldn't figure out what it was called.
It isn't a navigation bar, because that shows only the file path.

After reloading the old version of Android Studio, I discovered that this bar is called Breadcrumbs.
The new version changes its appearance slightly and adds new options for whether to place it at the top or bottom of the editor window. It seems to default to being placed at the bottom of the editor window.
To quickly set Breadcrumbs options ctrl+shift+a (or macintosh equivalent) to bring up Find Action and search for breadcrumbs
Hit enter on the non-options result and select top or whatever you want
Enjoy having your breadcrumbs back on top.

Related

Can't see action tool bar on Android Studio

Everything was fine yesterday. But I opened a new Android Studio project and can't see the top action bar (With various button shortcuts). And I can't find an option to reenable it.
Need help ;_;
Go to View -> Appearance and check those specific toolbars are activated or not

Android Studio isn't showing the xml editor [duplicate]

How can I enable the text/design Tab on the a src/main/res/layout folder on the activity_main.xml file that was created automatically during create new project? If i do right click and create xml file on the said folder, the design/text tab exist. Any suggestion? Thanks.
No Text/Design Tab on the Bottom Part of the Android Studio
Creating a new XML in the Res/Layout Folder, the design/text tab is now present.
Any help? this is super weird guys...
In Android Studio 3.6 use these three buttons (Code | Split | Design), on top right, to switch between views.
I had the same problem, restarting the IDE did make that tab appear again.
On Android Studio 3.6.1
Top Right corner under the main toolbar you have three different icons (Code, Split, Design).
View -> Tool windows -> Preview .
Output view:
use the three buttons (Code|Split|Design)on top right hand side to switch between views.
I also had this problem after upgrading to 1.5. None of the above suggestions worked for me. I noticed that the default relative layout xml has changed with a third xmlns line and an app behavior line. I opened an older project and copied the old relative layout header to replace the new. Instantly the preview function was restored.
You can also Move between Design / Text tabs in layout’s view with simple shortcut:
(Mac) : control + shift + ← / →
(Windows / Linux): alt + shift + ← / →
On the top right corner of the activity_main.xml file view, there are 3 icons representing "Code", "Split" and "Design". Click on the leftmost icon of the three ("Code") for the text tab.
In the android Studio window, at the left side there are two options available(Project and Resource Manager). Go to resource and there you will see an ADD Module option, click on that. After this you will see your text and design option will get enabled, you can go to your work area by Project Name->app ->src ->main->res ->layout.
Yes, Even I had the same problem. For the first time... I think It wont show, restarting the IDE did make that tab appear again.
I had this problem too, I deleted all the preference files, such as the AndroidStudioPreview folder & com.google.android.studio.plist, then restarted android studio, it worked.
You do not need to restart an IDE. All you need is to close an xml file that does not get a tab and reopen it within an editor. It is a little bug.
Navigate to activity_main.xml tab then Design and Text tab appears.
It doesn't appear in MainActivity.java tab.
You do not need to restart IDE.
If text/design tab is missing in new android studio, this can solve by two methods.
You have re-install android studio. And don't forget to delete android studio related all files from temp and local.
Or you can re-install SDK (software development kit) according to your device.

Alt+Left/Right behaving strangely Android Studio

I'm told that Alt+Left/Right should navigate between the open tabs in Android Studio, but for some reason I get this kind of behavior when I do multiple tab movements:
After the 3rd/4th (not sure) use of the shortcut the focus goes away from the editor window to the tool window on the left and then the shortcut seems to switch between tabs in there.
I'm using Android Studio 3.4.2, Win 10.
Why is this happening and how can I avoid it?

Android Studio 3.4 - layout designer "tools" missing

When designing layouts in the Designer of Android Studio 3.4 I am missing the "tools" feature.
In older versions, there was a small button that allowed to set a properts in the tools mode (only visible in designer) instead of setting it for the android name space.
So in the XML it would be written
tools:background="#aaa"
instead of
android:background="#aaa"
However, with the new version, this is gone. It only seems to show the wrench symbol when I set this manually in the XML. But the button for adding a tools-property directly seems gone.
Any idea where the button went to?
Check under declared attributes
Press the + sign on the right and you can see a new row has been added below where you can search tools: {see the image below}
Or still, you can use the old school way like the above pic.

Android Studio logcat search bar

We are a group of developers, we ALL have the latest studio but some of us has a logcat search bar that can be triggered by Command + F like this:
And some of use cannot trigger that search bar... any idea what is the difference??
It might be because the Keymap (Settings -> Keymap) of Android Studio has been changed to Eclipse (Or something else) from Default. Then Apply the changes. PFB the image FYR.
Change it back to Default and try hitting Ctrl+F to get the search bar be visible again.
Hope this helps.
Note: Later you can change it back to your favorite keymap.

Resources