Android UI - Android水平 ScrollView

标签 android android-ui horizontalscrollview

有没有类似的样本? Android 水平 ScrollView ...或者我该怎么做?

Enter image description here

最佳答案

伪:

<LinearLayout android:orientation="vertical">
    <HorizontalScrollView>
        <LinearLayout android:orientation="horizontal">
            <Image1 />
            <Image2 />
            <Image3 />
            <Image4 />
            <Image5 />
        </LinearLayout>
    </HorizontalScrollView>
    <LinearLayout android:orientation="horizontal">
        <Button1 android:layout_weight="1" />
        <Button2 android:layout_weight="1" />
        <Button3 android:layout_weight="1" />
        <Button4 android:layout_weight="1" />
    </LinearLayout >
</LinearLayout>

玩得开心!

关于Android UI - Android水平 ScrollView ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5565949/

相关文章:

android - 设计带有圆角和内阴影的 EditText

android - 可以隐藏水平样式的进度文本,不确定的 ProgressDialog?

Android 平板电脑用户界面 : multi-pane fragment or linear layout

Android Horizo​​ntalScrollView 宽度

android - 如何将水平 ScrollView 移动到特定位置?

Android Room 自动迁移?

android - okhttp -Dropbox http API v2

android - 如果我通过数据库浏览器更新数据库,它在我的应用程序中不会改变

android - 在操作栏中显示进度条而不是刷新菜单项

android - 如何使表格布局垂直和水平滚动