title: how to create menu bar at bottom of the activity using 4.0.3 SDK
body: <p>I am creating a menu in 4.0.3, according to documentation it always shows menu bar at the top of my activity but i want to show it at the bottom of my activity like that.How can i achieve this?</p>
  
  <p><img src="https://i.stack.imgur.com/qqYcw.png" alt="i want to create a menu that will show at the bottom of my Main activity."></p>
  
  <p>Currently i am using the following code.</p>
  
  <pre><code>public class MainActivity extends Activity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  }
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      // Inflate the menu; this adds items to the action bar if it is present.
      getMenuInflater().inflate(R.menu.main, menu);
      return true;
  }}
  </code></pre>
  
  <p>menue.xlm</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
  
  &lt;item
      android:id="@+id/weather"
      android:showAsAction="always|withText"
      android:icon="@drawable/ic_launcher"
      android:title="weather"/&gt;
  &lt;item
      android:id="@+id/second"
      android:icon="@drawable/ic_launcher"
      android:showAsAction="always|withText"
      android:title="Home"/&gt;
  
  &lt;item
      android:id="@+id/java"
      android:icon="@drawable/ic_launcher"
      android:showAsAction="always|withText"
      android:title="Java"/&gt;
  
  &lt;item
      android:id="@+id/android"
      android:icon="@drawable/ic_launcher"
      android:showAsAction="always|withText"
      android:title="Android"/&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>Mainfest</p>
  
  <pre><code>&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.example.bottom.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;
  </code></pre>
  
  <p>and it showing the following output.
  <img src="https://i.stack.imgur.com/TlHd1.png" alt="enter image description here"></p>