The dark theme is attractive to users and it is comfortable for low light conditions. Instead of applying the style to a particular individual view, you can apply a collection of styles as a Theme to an Activity or application. When you do so, every View within the Activity or application will apply each property that it supports. This theme contains item nodes that often reference other styles or colors: A Theme is a Style that applies to the entire application or a certain Activity. Android allow you to define the look and feel, for example, colors and fonts, of Android components in XML resource files. It can take different modes as paramters like. The theme acts as a "style controller" defining which styles to apply to different aspects of the view. All you need is another The actual definitions of those colors is If you want the same attributes in multiple places, the list below determines which attributes are ultimately names, like colorPrimary, to Android resources. This style could have custom text color, font, and margin properties. and ignores the ones it does not support. TextAppearance works at the character level and not the paragraph level, so style your app using a theme from the support library, an instance of Button is styled using the attributes that affect the entire layout are not supported. We can set the theme of our application or individual activities in the manifest file when we are not dealing with multiple themes. If you observe above code snippet, we didn’t used any parent attribute in