(效果如上图所示)

其实很简单:

比方说上面的容器是一个ListView

实现代码如下:

<ListView
android:id="@+id/listView_devices"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
<SPAN style="COLOR: #ff0000"> android:background="@android:drawable/dialog_frame"</SPAN>
android:cacheColorHint="@color/transparent" />

红色的那段代码是重点哦.

这样很简单的一行代码就可以实现啦.

以上就是【android panellistview 圆角实现代码】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)

与本文相关的软件

发表我的评论

最新评论

  1. 暂无评论