How do I prevent Android Studio from automatically collapsing my packages in project navigation?
In the 1:Project
view, you have Hide Empty Middle Packages
turned ON. You need to turn it off. Once turned off it will be shown as Compact Empty Middle Package
. Please look at the screenshot attached.