title: Action bar not showing on new activity
body: <p>Action bar on new activities are not showing. I spent couple of hours on stack over flow and other websites on finding what can be the reason but i could not figure out the problem.</p>
  
  <p>Can you please tell me what can be the reason and what will be the possible solution?</p>
  
  <p>Following is my code</p>
  
  <p>First i created : activity_forgot_password.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="#ffffff" 
  &gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:paddingBottom="@dimen/activity_vertical_margin"
          android:paddingLeft="@dimen/activity_horizontal_margin"
          android:paddingRight="@dimen/activity_horizontal_margin"
          android:paddingTop="@dimen/activity_vertical_margin"
          tools:context="com.reach2employee.ForgotPasswordActivity"
          &gt;
  
              &lt;ImageView
                 android:id="@+id/appLogo"
                 android:layout_width="fill_parent" 
                 android:layout_height="wrap_content"
                 android:contentDescription="@string/app_name"
                 android:src="@drawable/onlyitemployees_logo"
              /&gt;
  
              &lt;TextView
                  android:id="@+id/forgotPasswordTextView"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:textSize="20sp"
                  android:text="@string/forgotPasswordBtnText"
                  android:textColor="#D08B3A"
                  android:layout_marginTop="15dp" 
                  /&gt;                
  
              &lt;EditText
                  android:id="@+id/employerUsername"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content" 
                  android:hint="@string/employerUsernameHint"
                  android:layout_marginTop="15dp"
                  /&gt;
  
  
              &lt;Button 
                  android:id="@+id/submitBtn"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:background="#8eb534"
                  android:textColor="#ffffff"
                  android:text="@string/submitBtn"
                  android:layout_marginTop="15dp"
                  style="?android:attr/borderlessButtonStyle"
                  /&gt;                                       
  
  &lt;/LinearLayout&gt;
  
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>Secondly i created ForgotPasswordActivity.java</p>
  
  <pre><code>public class ForgotPasswordActivity extends Activity {
  
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);     
          setContentView(R.layout.activity_forgot_password);  
      }       
  
  }
  </code></pre>
  
  <p>Third I have added some code in manifest file</p>
  
  <pre><code>&lt;activity 
          android:name=".ForgotPasswordActivity"
          android:label="Forgot Password"
          &gt;&lt;/activity&gt;
  </code></pre>