<!-- In the file styles.xml, create a theme named MyTheme. It will be the same as the existing theme Theme.AppCompat.Light.DarkActionBar, except that its textColor will be green. -->


    <style name="MyTheme"


        <item name="android:textColor">#00FF00</item>




<!-- In the file AndroidManifest.xml, apply the theme to all the Views created by the app. -->







<!-- In the file activity_main.xml, the MyTheme is automatically applied to the TextView. -->