横向 纵向结合的ScrollView
就是HorizontalScrollView和ScrollView的相互嵌套。
<HorizontalScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<ScrollView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<!-- 嵌套在中间的其他的一些组件(ScrollView只能嵌套一个子对象!) -->
</LinearLayout>
</ScrollView>
</HorizontalScrollView> 相关推荐
JayFighting 2020-06-04
XDgaozhan 2013-07-10
luoj 2011-08-17
AndroidGA 2015-03-22
fuzhangandroid 2012-02-03
PiYuqing 2016-12-26
zzqLivecn 2016-08-15
RickyLee 2015-07-26
superxlcr 2015-03-22
ZhongGuanGuan 2014-10-31
yarkey0 2014-10-22
翟浩浩Android 2014-02-24
OuNuo0 2013-08-05
PrisonJoker 2013-07-10
zmmzmm 2013-01-25
fanjunjian 2012-10-18
housezhu 2012-10-15
yuyu00 2012-05-07