• ScrollView拉到尽头时出现阴影的解决方法


    <code class="hljs markdown has-numbering" style="display: block; padding: 0px;  color: inherit; box-sizing: border-box; font-family: 'Source Code Pro', monospace;font-size:undefined; white-space: pre; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; word-wrap: normal; background-position: initial initial; background-repeat: initial initial;">/** * *转载请注明:[<span class="hljs-link_label" style="box-sizing: border-box;">noyet12的博客</span>](<span class="hljs-link_url" style="box-sizing: border-box;">http://blog.csdn.net/u012975705</span>) *博客原址:http://blog.csdn.net/u012975705/article/details/50010839 * */</code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute;  50px;  top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right- 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right;"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li><li style="box-sizing: border-box; padding: 0px 5px;">6</li></ul>

    想要解决使ScrollView拉到尽头时不出现阴影,需要在布局中添加如下代码:

    <code class="hljs xml has-numbering" style="display: block; padding: 0px;  color: inherit; box-sizing: border-box; font-family: 'Source Code Pro', monospace;font-size:undefined; white-space: pre; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; word-wrap: normal; background-position: initial initial; background-repeat: initial initial;">android:fadingEdge="none"<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;"><!--删除android ScrollView边界阴影--></span> android:overScrollMode="never"<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;"><!--删除ScrollView拉到尽头(顶部、底部),然后继续拉出现的阴影效果--></span></code>
     
     
  • 相关阅读:
    团体程序设计天梯赛PTA L1-006连续因子
    团体程序设计天梯赛PTA L1-002打印沙漏
    spring学习3-配置文件
    markdown基本用法
    java贪食蛇小游戏
    在idea中使用lombook插件
    ajax初体验hello_ajax
    idea,自定义骨架的增加与删除
    idea 2017,2018,2019下载与破解
    idea关联mysql数据库失败,时区错误,数据库驱动配置
  • 原文地址:https://www.cnblogs.com/chenliyang/p/6558830.html
Copyright © 2020-2023  润新知