标签: java android xml layout
如何在file.xml中的android中获得此效果?
和
答案 0 :(得分:1)
使用xml图层列表drawable并将两个矩形放在彼此的顶部。在xml drawable的corner标记中,使用topLeftRadius,topRightRadius,bottomLeftRadius和bottomRightRadius来控制每个角是否独立舍入。