Where do I find the styles.xml file?
Solution 1
No need styles.xml file in the new Android Studio. Goto your project file view: Res>Values>Themes folder.
Open themes.xml file change actionbar.
Solution 2
Change project structure to Android.
Follow below image
Now getting structure like below Image:
Here is style.xml file present under res->values
If not getting style.xml file, then Create new file res->values->New->Value Resource file
I hope this helps you
Solution 3
You can find it in your resource directory
res/values/styles.xml
Solution 4
- Right click on res - new - package - write the name of package as values - in the drop down of folder type, select values - ok.
- The values folder is created!
- Right click on values package - new - Android Resource Xml file - write name as styles in the name section - Ok.
Kenya JJ
Updated on August 15, 2022Comments
-
Kenya JJ over 1 year
I have a very simple application that runs an html file. I really want to change the color of the status bar, because the standard top and bottom in black is horrible for the color palette of the page shown. I have no idea about Android and I can't start learning now, but I tried to follow the answers, as in this question here at Stack Overflow: How to change the status bar color in android. However, I can't even find the styles.xml file that is indicated to put the parameters inside. I tried to create the "value" folder with the styles.xml file inside, but it only corrupted the app, as I imagined it would happen.
This is how the file tree of my app (generated by the Website to APK Builder) is seen:
What do I do to accomplish this? Please help me!
Note: I tried the edits through Android Studio.
For more details, here's the .apk: Google Drive