android 隐藏ListView滚动条
16lz
2021-12-04
setScrollbarFadingEnabled(true);
Define whether scrollbars will fade when the view is not scrolling.
不活动的时候隐藏,活动的时候显示
setVerticalScrollBarEnabled(true);
不活动的时候隐藏,活动的时候也隐藏
<ScrollView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:scrollbars="none">
<TextView android:id="@+id/showhtml" android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</ScrollView>
android:scrollbars="none"与
setVerticalScrollBarEnabled(true);
更多相关文章
- android 复制、粘贴字符串 (判断API 11 )
- android 分享功能
- Android(安卓)Camera Parameters
- 工作记录[续] android OBB
- android全屏设置
- android EditText彻底搞定输入框隐藏/显示背景 可编辑输入问题
- 如何自学 Android(安卓)编程?(励志)
- Android开发之旅:活动与任务
- Android仿人人客户端(v5.7.1)——主流程(活动)图