展会信息港展会大全

Listview 添加圆角背景后,滚动引起的bug
来源:互联网   发布日期:2015-11-26 11:13:16   浏览:2049次  

导读:Listview 添加圆角背景后,滚动引起的bugLinearLayoutandroid:layout_width=fill_parentandroid:layout_height=fill_parentandroid:background=@drawable/category_list_bgandroid:layout_margin=20dp......

Listview 添加圆角背景后,滚动引起的bug

<LinearLayout

android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:background="@drawable/category_list_bg"

android:layout_margin="20dp">

<ListView android:layout_width="fill_parent"

android:layout_height="fill_parent" android:id="@android:id/list"

android:cacheColorHint="#00000000" android:divider="#cccccc"

android:scrollbars="none"

android:dividerHeight="2dp">

</ListView>

</LinearLayout>

android:cacheColorHint="#00000000" 就可以

赞助本站

人工智能实验室

相关热词: 圆角 滚动 bug

相关内容
AiLab云推荐
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港