——尊重作者,知识无价。交流无限!


两种方法

1、代码去边缘线

myList.setFadingEdgeLength(0);// 删除黑边(上下)



2、清单文件改动

android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"

<application

        android:allowBackup="true"

        android:icon="@drawable/ic_launcher"

        android:label="@string/app_name"

        android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen">

        <uses-library android:name="android.test.runner" />



        <activity

            android:name="com.ithm.lotteryhm28.MainActivity"

            android:label="@string/app_name"

            android:screenOrientation="portrait" >

            <intent-filter>

                <action android:name="android.intent.action.MAIN" />



                <category android:name="android.intent.category.LAUNCHER" />

            </intent-filter>

        </activity>

    </application>


O(∩_∩)O哈哈~欢迎各种吐槽、歧视、不吝赐教、交流......