如何在应用程序中滚动 up/down 以查看 android 手表?

How can I scroll up/down for android watch in application?

我想了解如何 scroll/swipe 向上或向下。我正在使用 viewPager 向右滚动。但是 up/down 刷​​卡不合适或者我不能

这里是documentation which contains information to help it locate a matching view at runtime. You can use the methods boolean swipeDown (int steps) and boolean swipeUp (int steps). You can also check this related SO question - How to implement gesture recognition in android wear。您必须禁用滑动关闭手势并将 DismissOverlayView 添加到您的布局。