title: Class requires API level 11 (current min is 8)
body: <p>I am new to Android Stuio. I created a project with the default setting and the added a fragment layout then fragment class</p>
  
  <p>I am now getting the following error:</p>
  
  <p><strong>Class requires API  level 11 (current min is 8)</strong></p>
  
  <p>on this line:</p>
  
  <p>public class WeatherFragment extends Fragment {</p>
  
  <p>here is my import:</p>
  
  <pre><code>import android.app.Activity;
  import android.support.v7.app.ActionBarActivity;
  import android.support.v7.app.ActionBar;;
  import android.support.v4.app.FragmentManager;
  import android.content.Context;
  import android.os.Build;
  import android.os.Bundle;
  import android.view.Gravity;
  import android.view.LayoutInflater;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  import android.view.ViewGroup;
  import android.support.v4.widget.DrawerLayout;
  import android.widget.ArrayAdapter;
  import android.widget.TextView;
  import android.app.Fragment;
  import android.support.v4.app.ListFragment;
  </code></pre>
  
  <p>and this is my Manifest:</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.jassim.yallabahrain.app" &gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.jassim.yallabahrain.app.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.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>