Android ListView去掉顶部阴影
转载自http://stackoverflow.com/questions/8878554/how-to-remove-fading-effect-from-listview
在XML中添加
android:fadingEdge="none"
但是该参数在API 14后被忽略,
所以API14后添加
android:fadingEdgeLength="0dp"

整体示例如下

 <ExpandableListView        android:id="@+id/explistview_detail"        android:layout_width="match_parent"        android:layout_height="wrap_content"        android:layout_below="@id/line_course_detail_shadow"        android:background="@color/bg_gray"        android:divider="@null"        android:fadingEdgeLength="0dp"        android:scrollbars="none" > </ExpandableListView> 

更多相关文章

  1. Android(安卓)UI开发第六篇——仿QQ的滑动Tab
  2. android拨打电话
  3. 「React Native」Android返回键监听
  4. android activity FLAG_ACTIVITY_CLEAR_TASK 跳转出现短暂的白屏
  5. 自定义android模块不编译的问题
  6. Eclipse 中的Android(安卓)工程突然无法启动调试模式了
  7. Android禁止下拉状态栏
  8. android 取消Title 头部标题栏
  9. Android(安卓)ScrollView 去掉 scrollbar 和 阴影

随机推荐

  1. 关于android studio启动时加载项目gradle
  2. Android(安卓)-- 隐藏式抽屉(SlidingDrawe
  3. android SQLite查询
  4. Android(安卓)封装实现各种样式对话框
  5. Android屏蔽Home键
  6. [转载]Android(安卓)by example : MVVM +
  7. Android外部存储/内部存储路径获取大全
  8. Android(安卓)xml文件里读取string array
  9. 使用Android内置httpRequest发起httpRequ
  10. android CVE 漏洞汇总