1

我目前正在懒惰地将一组图像加载到我在 android 中的应用程序中。当我完成加载它们时,我想应用一个蒙版(这样我就可以在它们上面有圆角)。我怎样才能达到这个效果?(我没有使用圆角的 xml 形状,因为我想要角抗锯齿)。

谢谢

4

1 回答 1

1

有几个问题。请查看以下内容:
• <a href="https://stackoverflow.com/questions/2459916/how-to-make-an-imageview-to-have-rounded-corners">如何制作带圆角的 ImageView ?
• <a href="https://stackoverflow.com/questions/4464347/creating-imageview-with-round-corners">创建带圆角的 ImageView
• <a href="https://groups.google.com/论坛/?fromgroups=#!topic/android-developers/4j7SLzAGhMk" rel="nofollow noreferrer">https://groups.google.com/forum/?fromgroups=#!topic/android-developers/4j7SLzAGhMk

关于创建自定义视图的文章
• <a href="http://developer.android.com/training/custom-views/index.html" rel="nofollow noreferrer">http://developer.android.com/training/ custom-views/index.html • <a href="http://developer.android.com/guide/topics/ui/custom-components.html" rel="nofollow noreferrer">http://developer.android。 com/guide/topics/ui/custom-components.html

于 2012-10-17T15:39:15.733 回答