This plugin can display your files as a group of different folders in project structure view. It helps to organize layouts and other resources.

File grouping

Note:

It does NOT move files.

move files. It does NOT create folders.

Installation

Download latest Android File Grouping.zip file here Open Android Studio In toolbar menu select File|Settings | Plugins Click Install from disk and choose Android File Grouping.zip Restart Android Studio

Usage

Rick click on layout folder (or any other) In context menu click Group/Ungroup

Limitations

The Android Project View defines its own structure and does not allow modifying the structure through any extensions. Make sure your are in Project Structure View and NOT in Android Project View.

What’s new?

Thanks to Serhiy Kyrylyuk android file grouping plugin now is updated to v1.1 with two new features.

Hide Folding Prefix

Without hiding folding prefix

With hiding folding prefix

This feature gives you ability to display file names without prefix.

To do so

In toolbar menu select File|Settings

Choose Other Settings

Tick on Hide Folding Prefix

Collapse and expand folder to refresh project view

Settings

Custom Prefix Pattern

Without custom prefix pattern

With custom prefix pattern

This feature gives you ability to set which position of the underscore is taken for filtering.

To do so

In toolbar menu select File|Settings

Choose Other Settings

Tick on Use Custom Pattern and define pattern*

Collapse and expand folder to refresh project view

Note: default pattern will take first two underscores of file name to create folders.