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);


更多相关文章

  1. android 复制、粘贴字符串 (判断API 11 )
  2. android 分享功能
  3. Android(安卓)Camera Parameters
  4. 工作记录[续] android OBB
  5. android全屏设置
  6. android EditText彻底搞定输入框隐藏/显示背景 可编辑输入问题
  7. 如何自学 Android(安卓)编程?(励志)
  8. Android开发之旅:活动与任务
  9. Android仿人人客户端(v5.7.1)——主流程(活动)图

随机推荐

  1. android 多媒体部分学习笔记十五-----视
  2. Android获得文件夹大小
  3. Andriod动画中windowEnterAnimation和act
  4. 继承FlexboxLayout自定义可自动换行的tag
  5. Android Activity的onCreate()函数
  6. Android Studio 3.4.1 下拉刷新 SwipRefr
  7. Android PopupMenu-点击按钮弹出下拉框
  8. (Android下使用)Google Test C++单元测试
  9. Android Studio常见问题处理
  10. Oprofile 移植到Android