# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1621019559 0 # Node ID a8d90e2896bc618d16eb36aba4adc77373e2e035 # Parent 736282fddac5f1f8b19a73d290155670e0a0dc96 Android: For the moment disable swiping to change notebook pages. Horizontal swipes conflict with other drag motions we use on some pages in dwtest... like the horizontal sliders. So disable it completely for now. It is a nice feature though for notebooks without controls it conflicts with. So might add it back later with a flag. diff -r 736282fddac5 -r a8d90e2896bc android/DWindows.kt --- a/android/DWindows.kt Fri May 14 12:13:29 2021 +0000 +++ b/android/DWindows.kt Fri May 14 19:12:39 2021 +0000 @@ -1302,6 +1302,9 @@ params.addRule(RelativeLayout.ABOVE, tabs.id) } notebook!!.addView(pager, params) + // TODO: Not sure if we want this all the time... + // Might want to make a flag for this + pager.isUserInputEnabled = false tabs.addOnTabSelectedListener(object : OnTabSelectedListener { override fun onTabSelected(tab: TabLayout.Tab) { val adapter = pager.adapter as DWTabViewPagerAdapter