HarshitVaish
10/1/2016 - 7:24 AM

Maintaining backward compatibility with XML

Maintaining backward compatibility with XML

<resources>
  <style name="Base.AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item> <!-- toolbar -->
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <!-- notification/status bar -->
        <item name="colorAccent">@color/colorAccent</item> <!-- Widgets when activated -->
        <item name="textColorPrimary"></item> <!-- Title text -->
        <item name="windowBackground"></item> <!-- Background of app screen -->
        <item name="textColorSecondary"></item> <!-- Navigation arrow/overflow icon -->
        <item name="colorControlHighlight"></item> <!-- Color of ripple animation -->
        <item name="colorButtonNormal"></item> <!-- Button background color -->
        <item name="colorControlActivated"></item> <!-- Widget when selected/activated-->
        <item name="navigationBarColor"></item> <!-- color of navigation bar -->
  </style>

  <style name="AppTheme" parent="Base.AppTheme">

  </style>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <style name="AppTheme" parent="Base.AppTheme">
        <!-- Features specific to V21 and above-->
    </style>


</resources>