How to create new directories in Android Studio?

Asked

Viewed 296 times

2

I am creating an application in Android Studio that has many screens and many files layout.xml. I wanted to organize them into sub-folders, is possible?

I tried to edit the Gradle Script, but many error messages have appeared.

  • Hello! This is Stackoverflow! Please edit your question! Thank you!

1 answer

0

You can configure your folder with the following configuration in Gradle.

sourceSets {
    main {
        res.srcDirs = ['src/main/res', 'src/main/res2', 'src/main/res_qq_coisa']
    }
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.