Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想制作一个 .xml 文件,其中有一个滚动视图,我基本上可以“旋转”并让它在列表中选择一个随机项目。有谁知道我如何做到这一点并保持视觉旋转?我不希望它只是选择一个随机项目然后将其打印到屏幕上......
ScrollView Documentation
Have a look at :
void fling(int velocityY) final void smoothScrollBy(int dx, int dy); final void smoothScrollTo(int x, int y);