I need help about "themes.xml" in android studio #154
-
hello, I haven't dealt with android studio before, So I am studying it myself.. My question is:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Are you wondering about the difference between having only one |
Beta Was this translation helpful? Give feedback.
-
Making Referencehttps://stackoverflow.com/questions/64352950/android-theme-xml-and-theme-xmlnight |
Beta Was this translation helpful? Give feedback.
-
Theme defines style of your application. And I think you may wonder why we have to define So, we just inherit the predefined theme unless you want to custom your theme. And it may also helpful reference Material Design to understand what is
Android application supports light theme and dark theme. I made an effort to make it easier to understand 😂, and I hope it helps. 👍👍 |
Beta Was this translation helpful? Give feedback.
themes.xml
manages app's resource such as color, style,,,ect. It affects the entire app.Making
themes
folder is default.But
theme.xml
makes one in the Jetpack compose project.This reason finds yourself! :)
It'll be good to compose study to you!
Reference
https://stackoverflow.com/questions/64352950/android-theme-xml-and-theme-xmlnight