Android(安卓)ListView去掉顶部阴影
16lz
2021-12-04
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(安卓)UI开发第六篇——仿QQ的滑动Tab
- android拨打电话
- 「React Native」Android返回键监听
- android activity FLAG_ACTIVITY_CLEAR_TASK 跳转出现短暂的白屏
- 自定义android模块不编译的问题
- Eclipse 中的Android(安卓)工程突然无法启动调试模式了
- Android禁止下拉状态栏
- android 取消Title 头部标题栏
- Android(安卓)ScrollView 去掉 scrollbar 和 阴影