Carlos Laspina
Carlos Laspina

Reputation: 2231

How configure android studio to see sub folders as packages?

How configure android studio to see sub folders as packages in project view:

for example, i've this structure

java
    com
        example
            android
                app01
                    app
                        MainActivity.java

but i wanna see this way:

java
    com.example.android.app01.app
                        MainActivity.java

Upvotes: 1

Views: 63

Answers (1)

Kio Krofovitch
Kio Krofovitch

Reputation: 3022

Looks like you need to enabled "Compact Empty Middle Packages". Do this by expanding the left hand project view panel, clicking on the settings icon, and selecting "Compact Empty Middle Packages".

enter image description here

Upvotes: 1

Related Questions