title: My Toolbar is not shown on API level 19 (Kitkat) while it is shown for API level 21
body: <p>My Code is not showing the Toolbar on Kitkat .<br>
  Here is my ScreenShot for both the version of Android.</p>
  
  <p>Kitkat version:</p>
  
  <p><img src="https://i.stack.imgur.com/1n93tm.png" alt="Kikat"></p>
  
  <p>Lollipop version:</p>
  
  <p><img src="https://i.stack.imgur.com/AWS9Tm.png" alt="Lollipop"></p>
  
  <p>What might be the reason behind this.</p>
  
  <p>Manifest File    </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.global.market"&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/image_front"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
  
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/app_name"
              android:theme="@style/AppTheme.NoActionBar"&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=".detailactivity"
              android:label="@string/app_name" /&gt;
          &lt;activity
              android:name="com.google.android.gms.ads.AdActivity"
              android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/&gt;
  
          &lt;meta-data android:name="com.google.android.gms.version" android:value="6111000" /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Styles.xml file</p>
  
  <pre><code>&lt;resources&gt;
  
  &lt;!-- Base application theme. --&gt;
  &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;!-- Customize your theme here. --&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;item name="windowActionBarOverlay"&gt;false&lt;/item&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="AppTheme.NoActionBar"&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;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /&gt;
  
  &lt;style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>Activity_main.xml</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:ads="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:openDrawer="start"&gt;
  
  
      &lt;include
          layout="@layout/app_bar_main"
          android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
  
  
      &lt;android.support.design.widget.NavigationView
          android:id="@+id/nav_view"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          android:fitsSystemWindows="true"
          app:headerLayout="@layout/nav_header_main"
          android:clickable="true"&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"&gt;
  
      &lt;ExpandableListView
          android:id="@+id/exp_list"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_marginTop="160dp"
          android:indicatorRight="?android:attr/expandableListPreferredItemIndicatorRight"
          android:background="@android:color/white"
          android:footerDividersEnabled="true"
          android:groupIndicator="@null"&gt;
      &lt;/ExpandableListView&gt;
  
              &lt;!--&lt;ListView--&gt;
                  &lt;!--android:background="@android:color/white"--&gt;
                  &lt;!--android:id="@+id/menuList"--&gt;
                  &lt;!--android:layout_width="match_parent"--&gt;
                  &lt;!--android:layout_height="match_parent"--&gt;
                  &lt;!--android:layout_marginTop="10dp" /&gt;--&gt;
          &lt;/LinearLayout&gt;
      &lt;/android.support.design.widget.NavigationView&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>MainActivity.java</p>
  
  <pre><code>        @Override
          protected void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);
  
                  setContentView(R.layout.activity_main);
       Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
                  if (toolbar != null) {
                      toolbar = (Toolbar) findViewById(R.id.toolbar);
                      setSupportActionBar(toolbar);
                     getSupportActionBar().setDisplayHomeAsUpEnabled(true);
                  }
  }
  </code></pre>
  
  <p>Build.gradle file</p>
  
  <pre><code> apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.3"
  
      ext {
          supportLibVersion = '23.4.0'  // variable that can be referenced to keep support libs consistent
      }
  
      defaultConfig {
          applicationId "com.global.market"
          minSdkVersion 14
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
  
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:23.4.0'
      compile 'com.android.support:design:23.4.0'
      compile 'com.loopj.android:android-async-http:1.4.9'
      compile 'com.android.support:cardview-v7:23.0.+'
      compile 'com.android.support:recyclerview-v7:23.0.+'
      compile 'com.google.code.gson:gson:2.6.2'
      compile 'com.squareup.retrofit2:retrofit:2.1.0'
      compile 'com.squareup.retrofit2:converter-gson:2.1.0'
      compile 'com.github.gabrielemariotti.cards:cardslib-core:2.1.0'
      compile 'com.github.gabrielemariotti.cards:cardslib-cards:2.1.0'
      compile 'com.github.PhilJay:MPAndroidChart:v2.2.4'
      compile files('libs/GoogleAdMobAdsSdk-6.4.1.jar')
      compile 'com.google.android.gms:play-services:6.1.11'
  
  
  
  }
  </code></pre>