Android實現Imageview上面圓角下面直角效果

如圖背景爲四個角都是圓角的圖片,我們完全可以使用shape寫出四個圓角,包括描邊 填充色等,代碼如下: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <!-- 填
相關文章
相關標籤/搜索