what I am trying to do is to create a new directory (styles) in res directory so that I can store all my styles there and can manage my codes easily from there. I have done it in Eclipse many times in the time of android development.
So, what I am doing is given in the pictures -
Step 1 -
Step 2-
Step 3-
Step 4-
But the problem is the the new moved directory is created (it is seen from the top navigator - red marked), but it is not shown in the left navigator and the file shows error.
If I try to add a new directory, it also not showing the file directory in the left. So, I can't create a new directory in any way in res directory.
Is there any way to create a new directory what can be used in codes for managing codes in res directory or it is not supported in Android Studio?
Can anyone help me please?
At the left pane, you have a dropdown near the top in which you've currently selected Android. Click on it and select Project. Then you can see the entire directory structure with all your folders. Navigate to your res folder and create new directory like follows.
Your project > app > src > main > res > Right Click > New > Android Resource Directory