Permalink
Browse files

Don't allow navigating out of the side bar when using a controller. Only

back key will exit the side bar.
  • Loading branch information...
fzurita authored and Gillou68310 committed Oct 21, 2015
1 parent 2cb2f98 commit 6ded6901a5c9df9f45468582a73df1b576283ba1
Showing with 7 additions and 3 deletions.
  1. +7 −3 res/layout/game_sidebar.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
@@ -30,9 +30,13 @@
android:id="@+id/drawerNavigation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/gameTitle"
android:layout_alignParentBottom="true"
android:layout_below="@id/gameTitle"
android:clipToPadding="false"
android:nextFocusDown="@+id/drawerNavigation"
android:nextFocusLeft="@+id/drawerNavigation"
android:nextFocusRight="@+id/drawerNavigation"
android:nextFocusUp="@+id/drawerNavigation"
android:paddingTop="20dip" />
</RelativeLayout >
</RelativeLayout>

0 comments on commit 6ded690

Please sign in to comment.