首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

横向 纵向组合的ScrollView

2012-08-17 
横向 纵向结合的ScrollView就是HorizontalScrollView和ScrollView的相互嵌套。? HorizontalScrollViewandr

横向 纵向结合的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>
?

?

?

热点排行