android LinearLayout 垂直滚动
2012-07-18 21:45
239 查看
引用:http://bywuyu.blog.163.com/blog/static/1687376682010101064641190/
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="vertical"
android:fadingEdge="vertical"
>
<LinearLayout android:id="@+id/hottopics"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:padding="10dip"
android:scrollbars="vertical"
></LinearLayout>
</ScrollView>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="vertical"
android:fadingEdge="vertical"
>
<LinearLayout android:id="@+id/hottopics"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:padding="10dip"
android:scrollbars="vertical"
></LinearLayout>
</ScrollView>
相关文章推荐
- [置顶] 自定义滚动LinearLayout(垂直)
- Android墨迹3.0特性介绍效果实现——做一个垂直滚动的Layout
- Android Layout布局使用总结Android中常用的5大布局方式有以下几种: 线性布局(LinearLayout):按照垂直或者水平方向布局的组件。 帧布局(FrameLayout):组件从
- LinearLayout 垂直滚动
- LinearLayout 垂直滚动
- Android墨迹3.0特性介绍效果实现——做一个垂直滚动的Layout
- Android开发布局系列: LinearLayout布局实现垂直水平居中
- Android 天气预报图文字幕垂直滚动效果
- Android控件ViewFlipper仿淘宝头条垂直滚动广告条
- Caused by: java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams
- Android五大布局(一)——LinearLayout、FrameLayout和AbsoulteLayout
- Android中LinearLayout、RelativeLayout、TableLayout、AbsoluteLayout容器的使用
- Android——仿京东垂直滚动广告栏
- Android 布局控件之LinearLayout详细介绍
- Android之LinearLayout、AbsoluteLayout
- Android ViewFlipper实现淘宝垂直滚动广告条
- Android ScrollView滚动区高度和子LinearLayout的layout_marginTop的关系
- Android的LinearLayout.getLayoutParams().width 和 LinearLayout.getWidth() 的区别
- 开发问题及解决 java.lang.ClassCastException:android.widget.LinearLayout$LayoutParams
- android linearlayout OnTouch事件 只触发DOWN操作,不触发MOVE和UP操作?