Reputation: 397
I'm developping my Android application but I'm not right with the project structure because I have all my layout in the folder R.layout
Isn't any way to structure this folder like packages. One folder for activity an other for content, fragment, etc..
Upvotes: 0
Views: 154
Reputation:
You can add folder as your package name and declare in manifeast file the path of your folder. And it is good pratice because it directly id
Upvotes: 0
Reputation: 3097
It is a bad practice, avoid doing that. Always try to follow official guides now it might not seem clear and logical why? and what?, but in a long term you are going to understand and be happy that you followed official guides and best practices.
Happy coding!
Upvotes: 3