ListView加邊框

在drawable加一個xml文件 內容以下:<?xml version="1.0" encoding="UTF-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">        <stroke android:width="1dp" android:color="#F07BA210" /></shape>而後再listview裏用background屬性調用就能夠了。
相關文章
相關標籤/搜索