In Eclipse I can flatten Java packages as the following:

How do I achieve the same result with Android Studio, which currently looks like below:

Click in Settings icon in your "Project Bar" and choose "Flattern packages" (first option).
Just do something like that, actually I was struggling to find project bar 😂

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With