Android UI - Android横向滚动视图
答
伪:
<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>
玩得开心!
嗯....我已经看过这个例子..但是这使用Gallery类...哪个更好使用Gallery或HorizontalScrollView? – 2011-04-06 12:10:21
根据我最好使用'GalleryView'比'HorizontalScrollView' ..它的我的建议..你最好去适合你的阿伦。 – Hussain 2011-04-06 12:12:45
使用HSV其更方便...休息取决于你...... – Programmer 2012-02-09 12:51:19