In web development, I see how tags have default themes defined in the browser, and I see how they're applied.
However, with Android studio's themes, I'm really confused. I can define my custom themes using ?attr/myClass and then apply it on widgets by android:theme="?attr/yClass", then assign a colour to that attribute in my day or night theme files.
But, what baffles me, is- that purple. Where does it come from? When I set the theme header to
<style name="Theme.TestingThemes" parent="Theme.MaterialComponents.DayNight.NoActionBar">
purples come for the not night mode.
When I use other styles that come with "default" with Android studio, I don't see exactly that purple.
Some themes allow me to set my own colours, but some others don't, like the one that I mentioned.
Worst of all that totally blows my mind is: when I open the theme files in
app/res/values/themes/*andapp/res/values/colors.xml*, I only see less than 10 themes defined. Yet I see Android studio suggesting to me a long list of colour names! Where do these come from?
I'm facing my 1st mobile development task, and really frustrated. I only use vim as my text editor. I'm drowning in Android studio. It's cool and powerful, but I require some baby-walking assistance. S.O.S.