I'm just getting started with Android Studio, but this is what I found out about using colorBackground. In your res / values ββ/styles.xml you will use it this way
<resources> <color name="colour_name">#bada55</color> <color name="white">#ffffff</color> <style name="AppThemeA" parent="android:Theme.AppCompat.Light"> <item name="android:colorBackground">@color/colour_name</item> <item name="android:textColor">@color/white</item> </style> </resources>
Hope this answers your question.
source share