您的位置:首页 > 移动开发 > Android开发

ScrollView属性简介

2016-08-21 10:50 363 查看
参考链接:http://blog.csdn.net/johnny901114/article/details/7869047

代码入手:

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:scrollbarTrackVertical="@drawable/scrollbar_vertical_track"

android:scrollbarThumbVertical="@drawable/scrollbar_vertical_thumb"

android:scrollbarSize="5dip"

android:scrollbarStyle="insideInset" >

....

</ScrollView>


效果图:





android:scrollbarTrackVertical //右边滑动轨道的效果(白色);

android:scrollbarThumbVertical //右边滑动的线条效果(蓝色);

android:scrollbarSize //右边滑动轨道横截面的宽度;

android:scrollbarStyle

详情请看http://blog.csdn.net/guangcheng0312q/article/details/52181123
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android