title: ActionBar/Toolbar not showing on Lollipop version of app
body: <p>I'm currently trying to convert my app to lollipop material design and have run into some problems with the actionbar/toolbar. Implementing everything the way I did, the actionbar/toolbar won't show on either a lollipop or kitkat device. Perhaps someone could look at my themes, styles, activity_main (where I hold a bunch of fragments and is the only place I put the toolbar xml code), and mainactivity. </p>
  
  <p>Thanks.</p>
  
  <p>values/styles.xml</p>
  
  <pre><code>&lt;resources&gt;
  
  &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light"&gt;
      &lt;!-- Set AppCompat’s actionBarStyle --&gt;
      &lt;item name="actionBarStyle"&gt;@menu/action_menu&lt;/item&gt;
  
      &lt;!-- The rest of your attributes --&gt;
  &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>values/themes.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
  &lt;style name="AppTheme" parent="AppTheme.Base"/&gt;
  
  &lt;style name="AppTheme.Base" parent="Theme.AppCompat"&gt;
      &lt;item name="colorPrimary"&gt;@color/material_blue_grey_800&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/material_blue_grey_950&lt;/item&gt;
      &lt;item name="android:textColor"&gt;@color/black&lt;/item&gt;
      &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
  &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>activity_main.xml</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/drawerLayout"
  android:layout_width="match_parent"
  android:layout_height="match_parent" &gt;
  
  &lt;FrameLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/fragment_container"
      android:layout_width="match_parent"
      android:layout_height="match_parent" /&gt;
  
  &lt;RelativeLayout
      android:id="@+id/drawerView"
      android:layout_width="250dp"
      android:layout_height="wrap_content"
      android:layout_gravity="start" &gt;
  
      &lt;android.support.v7.widget.Toolbar
          android:id="@+id/toolbar"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:minHeight="?attr/actionBarSize" /&gt;
  
      &lt;ListView
          android:id="@+id/drawerList"
          android:layout_width="250dp"
          android:layout_height="match_parent"
          android:layout_gravity="left"
          android:background="@drawable/nav_border"
          android:divider="@null" /&gt;
  &lt;/RelativeLayout&gt;
  &lt;!--
           &lt;fragment
          android:id="@+id/fragment1"
          android:name="com.shamu11.madlibsportable.MadlibsSelect"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent" /&gt;
  
  --&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>mainactivity</p>
  
  <pre><code>public class MainActivity extends ActionBarActivity implements
      OnItemClickListener {
  
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      setContentView(R.layout.activity_main);
  
      Fragment fragment = new MadlibsSelect();
  
      fragment = new MadlibsSelect();
  
      FragmentTransaction fm = getSupportFragmentManager().beginTransaction();
      fragment.setArguments(getIntent().getExtras());
      fm.add(R.id.fragment_container, fragment);
      fm.commit();
  
      Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
      setSupportActionBar(toolbar);
  
      toolbar.inflateMenu(R.menu.action_menu);
  
      //ActionBar bar = getActionBar();
      //bar.setBackgroundDrawable(new ColorDrawable(Color.parseColor("#428bca")));
  
      ...more stuff happen down here including adding nav drawer.
  </code></pre>