Android ListView去掉顶部阴影
16lz
2021-01-23
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>
更多相关文章
- Android ScrollView 去掉 scrollbar 和 阴影
- android之相对布局示例
- Android Service 示例
- 删除android ScrollView边界阴影方法
- Android简明开发教程十六:Button 画刷示例
- android 用UDP做的心跳连接 小示例
- TextView中的文字添加阴影效果及Style的使用