<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="MaterialLightTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!--   color for the app bar -->
        <item name="colorPrimary">@color/light_theme_primary</item>
        <!--   darker variant for the status bar and contextual app bars -->
        <item name="colorPrimaryDark">@color/light_theme_primary_dark</item>
        <!--   theme UI controls like checkboxes and text fields -->
        <item name="colorAccent">@color/light_theme_accent</item>
    </style>

    <style name="MaterialDarkTheme" parent="Base.ThemeOverlay.AppCompat.Dark.ActionBar">
        <!--   color for the app bar -->
        <item name="colorPrimary">@color/dark_theme_primary</item>
        <!--   darker variant for the status bar and contextual app bars -->
        <item name="colorPrimaryDark">@color/dark_theme_primary_dark</item>
        <!--   theme UI controls like checkboxes and text fields -->
        <item name="colorAccent">@color/dark_theme_accent</item>
    </style>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="MaterialLightTheme" parent="Base.ThemeOverlay.AppCompat.Light">
        <!--   color for the app bar -->
        <item name="colorPrimary">@color/light_theme_primary</item>
        <!--   darker variant for the status bar and contextual app bars -->
        <item name="colorPrimaryDark">@color/light_theme_primary_dark</item>
        <!--   theme UI controls like checkboxes and text fields -->
        <item name="colorAccent">@color/light_theme_accent</item>
    </style>

    <style name="MaterialDarkTheme" parent="Base.ThemeOverlay.AppCompat.Dark.ActionBar">
        <!--   color for the app bar -->
        <item name="colorPrimary">@color/dark_theme_primary</item>
        <!--   darker variant for the status bar and contextual app bars -->
        <item name="colorPrimaryDark">@color/dark_theme_primary_dark</item>
        <!--   theme UI controls like checkboxes and text fields -->
        <item name="colorAccent">@color/dark_theme_accent</item>
    </style>
</resources>
Change MaterialLightTheme parent to show ActionBar
Change MaterialLightTheme parent to show ActionBar
