解决ListView滑动时出现黑边的问题

【声明】转载请注明出处,此文出自指尖飞落的博客: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布局☞,listview,布局,layout,代码)