软件编程
位置:首页>> 软件编程>> Android编程>> android panellistview 圆角实现代码

android panellistview 圆角实现代码

  发布时间:2022-09-03 17:34:19 

标签:android,panellistview

android panellistview 圆角实现代码

(效果如上图所示)

其实很简单:

比方说上面的容器是一个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" />


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

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

0
投稿

猜你喜欢

手机版 软件编程 asp之家 www.aspxhome.com