Skip to content

Commit

Permalink
Provide key navigation if ViewPager accidentially took focus (fixes #281
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Catfriend1 committed Jan 27, 2019
1 parent ed941fc commit f7d5c29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/res/layout/activity_first_start.xml
Expand Up @@ -10,7 +10,9 @@
<com.nutomic.syncthingandroid.views.CustomViewPager
android:id="@+id/view_pager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent"
android:nextFocusLeft="@+id/btn_back"
android:nextFocusRight="@+id/btn_next" />

<LinearLayout
android:id="@+id/layoutDots"
Expand Down

0 comments on commit f7d5c29

Please sign in to comment.