在单个屏幕上管理 10-15 列(Android 应用程序)

Manage 10-15 columns on a single screen (Android App)

只是想知道我们是否可以使用 android 代码(本机应用程序)或更好的方法来做类似 this 的事情来处理单个屏幕上的多列。我搜索了很多,但我发现的都是通过 CSS & JS 而不是 android code

您为什么不尝试使用 Horizo​​ntalScrollView 和其中的单列项(每列可以是一个包含其他视图的 LinearLayout)来做到这一点?

<LinearLayout orientation="horizontal">
    <LinearLayout orientation="vertical>
        <!-- first column fixed -->
    </LinearLayout>
    <HorizontalScrollView>
        <LinearLayout orientation="horizontal">
            <LinearLayout orientation="vertical>
                <!-- second column -->
            </LinearLayout>
            <LinearLayout orientation="vertical>
                <!-- third column -->
            </LinearLayout>
            <!-- etc -->
        </LinearLayout>
    </HorizontalScrollView>
</LinearLayout>

你明白要点了。