Android Studio xml layout autocomplete not working - android-studio

I'm using Android Studio version 2021.1
as shown bellow in the GIF the auto-complete doesn't work if I changed the "ConstraintLayout" to any other layout such as "LinearLayout" or "RelativeLayout", but it works just fine with "ConstraintLayout".
What i've tried so far is:
Deleting AS cache from ~/AppData/Local/Google/AndroidStudio2021.1/caches
Deleting .idea from my project
Creating new xml layout :/

Related

stuck in Android drawable importer

I downloaded Android drawable importer, but when i clicked + button after click batch drawable importer and paste png file, nothing is displayed how can i go through this problem?
I have struggled through it too. As it turns out, by Android Studio 3.6.1 this plugin began to not working anymore. As of now, you can use Android Assets studios over the web, like this and this one.

How to save dart file in file system with android studio generated comments?

I like how Android Studio and Visual Studio , generate the comments for each closing brackets, but when I open the same file in notepad++ or any other text editor, I don't see those comments. Is there a way to generate the saved dart file so it has those comments stored as part of the text code( in comment) ?
Here is one code example that how code looks in android studio.
but when opened with notepad it does not have the comment MaterialApp. I am guessing there is some settings in android studio that will let me save file with generated comments, so it can be useful outside of Android studio like in git etc.
These comments are generated "on the fly" by the Flutter plugin for Android Studio. At no time, these comments are inserted into your source files. They are just shown within the IDE. So I think there is no way to "export" these comments.

Android Studio has a very buggy attribute window when using search bar

So when I try to use the attribute window on Android Studio and wanted to search for something for my text or button it will be very buggy after I click away and click on something else like an Image, it will just keep that inputted search I previously used even though I have removed it.
So far I tried:
1- Restarting Android Studio.
2 - Invalidate Caches.
3 - Tried other PC same problem.
I am using Windows 10 - 64 bit with the latest Android Studio 3.3.2
https://youtu.be/KZrJltsnQL8
Try rebuilding and cleaning the project.

Move class structure tab in Android Studio below Project files

Is there a way for the Structure tab in Android Studio to appear under your project files like in PHPStorm? As it stands now, it appears on the side as shown below.
PHPStorm
Android Studio 3.1.2
Drag and Drop the tab Structure and put it on the bottom left.

How to import .XML code style into Android Studio 1.5.1 for OSX

I am trying to import official Google code styles into Android Studio 1.5.1.
I have placed the file named intellij-java-google-style.xml here:
/Users/me/Library/Preferences/IdeaIC14/codestyles
As described by this answer on Stack. However, it does not appear:
I further attempted the approach described here and placed the same file in ~/Library/Preferences/AndroidStudioBeta/codestyles, but that also did not work.
Can anyone suggest the right way to import codestyles in Android Studio 1.5.1? Here is exactly what I am running:
You've placed the code style .xml in a path used by IntelliJ IDEA, not Android Studio. The corresponding path for Android Studio is:
/Users/me/Library/Preferences/AndroidStudio1.5/codestyles

Resources