title: How to make a new activity when someone clicks on the hardware button menu settings
body: <p>I have a project and if someone clicks on the hardware button menu, three different options appear:</p>
  
  <p></p>
  
  <pre><code>&lt;item
      android:id="@+id/action_settings"
      android:orderInCategory="100"
      android:showAsAction="never"
      android:title="@string/action_settings"/&gt;
  
  &lt;item
      android:id="@+id/action_information"
      android:title="@string/action_information"/&gt;
  
   &lt;item
      android:id="@+id/action_impressum"
      android:title="@string/action_impressum"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>I created a setting, information and impressum activity. Now it should be possible to show them if someone clicks on the appropriate menu subitem. But I have no glue how to do that. I know, how to click a button and show a new activity:</p>
  
  <pre><code>View button = findViewById(R.id.button_pong);
          button.setOnClickListener(new View.OnClickListener() {
              public void onClick(View v) {
                  Intent startActivity = new Intent(v.getContext(),
                          PongActivity.class);
                  startActivity(startActivity);
              }
          });
  </code></pre>
  
  <p>is it similar with the hardware button?</p>