title: Focus Handling of VerticalGridView
body: <p>Here VerticalGridView(VG) will be going to fill with some data. The VG receives the focus on pressing D-PAD key up/down, it is working fine. But the problem is when the focus is at zeroth item in the grid and the user presses D-PAD keyup focus must be set one of the view outside of VG, which is ll_exit(id mentioned in xml file), but currently focus is not going to the said view. Kindly let me know how i to solve this problem.</p>
  
  <p>i tried setting up android:nextFocusUp="@id/ll_exit" but it is not moving and tried in activity level to implement the onKeyUp method as below</p>
  
  <pre><code>@Override
      public boolean onKeyUp(int keyCode, KeyEvent event) {
          switch (keyCode) {
              case KeyEvent.KEYCODE_DPAD_UP:
                  Log.d(TAG, "onKeyUp: " + event.getAction());
                  GenresFragment fragment = (GenresFragment) getSupportFragmentManager().findFragmentById(R.id.fragment_genre);
                  int pos = fragment.getVerticalGridView().getSelectedPosition();
                  if (pos == 0) {
                      fragment.getLlExit().requestFocus();
                  }
                  return true;
              default:
                  return super.onKeyUp(keyCode, event);
          }
      }
  </code></pre>
  
  <p>but here the problem is when i'm at 1st item in VG and presses the key up button suddenly it'll go to the view that i need to focused. That is ll_exit view in xml file</p>
  
  <pre><code>&lt;b&gt;main_layout.xml&lt;/b&gt;
  
      &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/ll_root"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"&gt;
  
          &lt;LinearLayout
              android:id="@+id/ll_toolbar"
              android:layout_width="@dimen/select_genre_fragment_width"
              android:layout_height="@dimen/select_genre_toolbar_height"
              android:orientation="horizontal"&gt;
  
              &lt;TextView
                  android:id="@+id/tv_all_channels"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"/&gt;
  
              &lt;LinearLayout
                  android:id="@+id/ll_genres"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"/&gt;
  
              &lt;LinearLayout
                  android:id="@+id/ll_exit"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"/&gt;
          &lt;/LinearLayout&gt;
  
          &lt;android.support.v17.leanback.widget.VerticalGridView
              android:id="@+id/vg_genres"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_below="@id/ll_toolbar"
              android:nextFocusUp="@id/ll_exit" /&gt;
      &lt;/RelativeLayout&gt;
  </code></pre>