首页 > 其他 > 详细

可垂直和水平滚动的视图

时间:2015-03-26 22:21:18      阅读:233      评论:0      收藏:0      [点我收藏+]
 1 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
 2     android:layout_width="match_parent"
 3     android:layout_height="match_parent" >
 4 
 5     <HorizontalScrollView
 6         android:layout_width="match_parent"
 7         android:layout_height="wrap_content" >
 8 
 9         <LinearLayout
10             android:layout_width="match_parent"
11             android:layout_height="wrap_content"
12             android:orientation="vertical" >
13 
14             <ImageView
15                 android:layout_width="wrap_content"
16                 android:layout_height="wrap_content"
17                 android:src="@drawable/f1" />
18         </LinearLayout>
19     </HorizontalScrollView>
20 
21 </ScrollView>

 

可垂直和水平滚动的视图

原文:http://www.cnblogs.com/taoxiuxia/p/4370047.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!