Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: separate package with subpackage

enter image description here

When you create a package in Android Studio, and then create subpackage, in a while it transforms to the form, you can see in attachment. So when I want to create another subpackage of acctocard with the help of

right button click -> new -> package,

my newly created package will be a subpackage of acctocard.activities.

Please, tell me, how to separate this packages, to have them displayed as a tree.

Thanks in advance!

like image 353
Dmitry Smolyaninov Avatar asked Apr 22 '17 10:04

Dmitry Smolyaninov


2 Answers

As Sachin Bahukhandi adviced in the comments, I took a look at the post.

So what you need to do, is to click Project Bar -> Settings and uncheck Compact Empty Middle Packages item.

enter image description here

like image 137
Dmitry Smolyaninov Avatar answered Nov 20 '22 18:11

Dmitry Smolyaninov


Just do something like that, actually I was struggling to find project bar 😂

like image 21
M. H. Avatar answered Nov 20 '22 19:11

M. H.