zoukankan      html  css  js  c++  java
  • 解决ListView滑动时出现黑边的问题

    【声明】转载请注明出处,此文出自指尖飞落的博客:http://blog.csdn.net/huntersnail

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


    两种方法

    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哈哈~欢迎各种吐槽、歧视、不吝赐教、交流......

    ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆转载请注明出处☞指尖飞落的博客☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆


  • 相关阅读:
    利用本地浏览器远程服务器上的jupyter notebook
    解决IIS服务器Web访问提示输入密码
    IIS 配置
    override new 关键字的区别
    ASP.NET的网站的设计与优化
    山东人!
    远程连接SQL Server 2000服务器的解决方案
    对软件的新认识
    一个程序员成长的六个阶段
    优秀程序员应当具备的品质
  • 原文地址:https://www.cnblogs.com/liguangsunls/p/7261701.html
Copyright © 2011-2022 走看看