如何为一个 linear layout在 xml 中设置 gradient。我想给布局中的使用圆边角设置视图的边界。如何实现这个功能?
设置圆角用shape,里面写gradient,然后设置成layout的background。是这个意思吗