title: How to use DPAD to navigate through action menu item on Android 5
body: <p>I am trying to add DPAD navigation support for my app. However, I found it is not possible to move the focus to the action menu items on Android 5. But it works fine on Android 4.4.4, see attached screenshot below, the robot icon is focused and highlighted.
  <img src="https://i.stack.imgur.com/sTrmB.png" alt="enter image description here"></p>
  
  <p>Same code does not work on Android 5.1.1 Nexus7. Does anyone have any idea?</p>
  
  <p>Attached my code and xmls.</p>
  
  <p>MainActivity.java:</p>
  
  <pre><code>package com.example.zzztest;
  
  import android.support.v7.app.ActionBarActivity;
  import android.os.Bundle;
  import android.view.Menu;
  import android.view.MenuItem;
  
  public class MainActivity extends ActionBarActivity {
  
      @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;
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          // Handle action bar item clicks here. The action bar will
          // automatically handle clicks on the Home/Up button, so long
          // as you specify a parent activity in AndroidManifest.xml.
          int id = item.getItemId();
          if (id == R.id.action_settings) {
              return true;
          }
          return super.onOptionsItemSelected(item);
      }
  }
  </code></pre>
  
  <p>Menu XML:
      </p>
  
  <pre><code>    &lt;item
          android:id="@+id/action_settings"
          android:orderInCategory="100"
          android:title="@string/action_settings"
          app:showAsAction="never"/&gt;
  
      &lt;item
          android:id="@+id/action_asdf"
          android:icon="@drawable/ic_launcher"
          android:title="@string/action_settings"
          app:showAsAction="always"/&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>Layout XML:
      </p>
  
  <pre><code>    &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/hello_world" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>