解决ListView滑动时出现黑边的问题
16lz
2021-01-26
【声明】转载请注明出处,此文出自指尖飞落的博客:http://blog.csdn.net/huntersnail
——尊重作者,知识无价,交流无限!
两种方法
1、代码去边缘线
myList.setFadingEdgeLength(0);// 删除黑边(上下)
2、清单文件修改
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
android:allowBackup="true"android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen">
android:name="com.ithm.lotteryhm28.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" >
O(∩_∩)O哈哈~欢迎各种吐槽、鄙视、指教、交流......
☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆转载请注明出处☞指尖飞落的博客☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆
更多相关文章
- Android再按一次完全退出程序代码
- 7 places to find help with developing your Android(安卓)appl
- robolectric + eclipse NoClassDefFoundError (can run tests fr
- 图片内存溢出处理
- Android(安卓)判断是否有外置SD卡(包含手机存储的情况下)
- Android(安卓)view lifecycle
- Android-ksoap2与NuSOAP的交互(原创)
- Android(安卓)防止Toast重复弹出相同的信息
- Android(安卓)Layout Tricks #2: Reusing layouts