---
title: "Android 实现圆形Panel ListView"
author: "thunder_yan"
date: "2012-12-04T18:32:27Z"
tags: []
categories: ["移动开发"]
slug: "android-panel-listview"
draft: false
lastmod: "2012-12-04T18:32:27Z"
id: 1741082
url: "https://thunder-yan.iteye.com/blog/1741082"
---

![](http://dl.iteye.com/upload/attachment/0077/4484/98a051bc-015f-340e-ad87-137016790ade.png)

**(效果如上图所示)**

 

**其实很简单:**

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

 

```
<ListView
        android:id="@+id/listView_devices"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="@android:drawable/dialog_frame"
        android:cacheColorHint="@color/transparent" />
```

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

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