Application compatibility issue
<p>I have developed an application in Lollipop, but when I try to run it on Kitkat or lower version, the application stops working. I know applications developed on a specific version cant run on the lower versions. so I tried the following things to make it work.</p>

<ol>
<li><p>created a new style folder for kitkat i.e, values-v19 and saved a styles.xlm file in it (Code attached).</p></li>
<li><p>checked my android manifest for sdktarget version and I tried to run on every platform (11-23). in case if it runs.</p></li>
<li><p>searched all over the net but unfortunately couldnt find any appropriate solutions. </p></li>
</ol>

<p>Please help.</p>

<p>I want my application to run on lower versions too.</p>

<p>res/values-v19/styles.xml</p>

<pre><code>&lt;resources&gt;

&lt;style name="MyMaterialTheme" parent="MyMaterialTheme.Base"&gt;
    &lt;item name="android:windowContentTransitions"&gt;true&lt;/item&gt;
    &lt;item name="android:windowAllowEnterTransitionOverlap"&gt;true&lt;/item&gt;
    &lt;item name="android:windowAllowReturnTransitionOverlap"&gt;true&lt;/item&gt;
    &lt;item name="android:windowSharedElementEnterTransition"&gt;@android:transition/move&lt;/item&gt;
    &lt;item name="android:windowSharedElementExitTransition"&gt;@android:transition/move&lt;/item&gt;
&lt;/style&gt;

&lt;/resources&gt;
</code></pre>

<p>res/values-v21/styles.xml</p>

<pre><code>&lt;resources&gt;

&lt;style name="MyMaterialTheme" parent="MyMaterialTheme.Base"&gt;
    &lt;item name="android:windowContentTransitions"&gt;true&lt;/item&gt;
    &lt;item name="android:windowAllowEnterTransitionOverlap"&gt;true&lt;/item&gt;
    &lt;item name="android:windowAllowReturnTransitionOverlap"&gt;true&lt;/item&gt;
    &lt;item name="android:windowSharedElementEnterTransition"&gt;@android:transition/move&lt;/item&gt;
    &lt;item name="android:windowSharedElementExitTransition"&gt;@android:transition/move&lt;/item&gt;
&lt;/style&gt;

&lt;/resources&gt;
</code></pre>

<p>res/values/styles.xml</p>

<pre><code>&lt;resources&gt;

&lt;style name="MyMaterialTheme" parent="MyMaterialTheme.Base"&gt;

&lt;/style&gt;

&lt;style name="MyMaterialTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
    &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
    &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
    &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
    &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
    &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
&lt;/style&gt;

&lt;/resources&gt;'
</code></pre>

<p>android Manifest.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.draft"
android:versionCode="1"
android:versionName="1.0" &gt;

&lt;uses-sdk
    android:minSdkVersion="11"
    android:targetSdkVersion="21" /&gt;

&lt;uses-permission android:name="android.permission.INTERNET" /&gt;

&lt;application
    android:allowBackup="true"
    android:icon="@drawable/logo"
    android:label="@string/app_name"
    android:theme="@style/MyMaterialTheme" &gt;
    &lt;activity
        android:name=".MainActivity"
        android:label="@string/app_name" &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.Default" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;activity
        android:name=".Splash"
        android:label="@string/app_name" &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;activity
        android:name=".Online_Library"
        android:label="@string/nav_item_library" &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;activity
        android:name=".LibraryFragment"
        android:label="@string/nav_item_library" &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
&lt;/application&gt;
&lt;/manifest&gt;
</code></pre>