18 May 2015

Android Material compatible theme

If you want to have Android Material compatible theme, you should have like this, in your styles.xml file :

<style name="MyTheme" parent="@style/Theme.AppCompat.Light">
    <item name="android:windowNoTitle">true</item>
    <item name="windowActionBar">false</item>
    <item name="android:windowFullscreen">true</item>
    <item name="android:windowContentOverlay">@null</item>
</style>
Post a Comment