网格视图图像边框

siv*_*raj 5 android android-gridview

我正在使用 gridview 使用 xml 解析显示来自 xml 的图像组,现在我想在 gridview 中显示每个图像周围的边框。所有图像都应在 gridview 中的图像上显示轮廓边框。如何为 gridview 中的每个图像设置边框?

DeR*_*gan 0

您是否尝试将资源/颜色设置为网格上图像视图的背景,并为其指定填充?