yukuku / androidbible

Open Source Bible for Android
https://alkitab.app
Apache License 2.0
311 stars 174 forks source link

floater not working when I put GotoButton in CoordinatorLayout #63

Closed ghost closed 6 years ago

ghost commented 6 years ago

When I use GotoButton in CoordinatorLayout which contains AppBarLayout and BottomNavigationView, the drag guesture of GotoButton is not working, I don't know why but I think it may be caused by CoordinatorLayout behavior and cause the guesture conflict. Can you give me some suggestions for solving this problem?

yukuku commented 6 years ago

CoordinatorLayout intercepts the touch events by onInterceptTouchEvent. Probably that's why the gestures are no longer fed into GotoButton.