有没有类似的样本? Android 水平 ScrollView ...或者我该怎么做?
最佳答案
伪:
<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/