A theme is a style applied to an activity or the whole application. To set a theme, use the android:theme attribute in the AndroidManifest.xml file. The theme attribute applies to the <Application> element as well as the <Activity> elements. All views within that element will be styled with the theme specified.
It's common to set the application theme, but then override a specific activity with a different theme.
In the previous recipe, we set textViewStyle using the AppTheme style (which the wizard created automatically). In this recipe, you will learn how to set both the application and activity themes.
Along with the style settings we have already explored, there are additional style options we didn't discuss because they don't apply to a View, they apply to the window as a whole. Settings such as hiding the application...