这种左右两边的圆弧效果怎么实现呢?
安卓原生实现的话可以定义drawable,设置它的左上和右上的圆角
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:bottomLeftRadius="0dp"
android:bottomRightRadius="0dp"
android:topLeftRadius="10dp"
android:topRightRadius="10dp"/>
</shape>
2 回答862 阅读✓ 已解决
4 回答956 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
2 回答1k 阅读✓ 已解决
2 回答2.6k 阅读
3 回答866 阅读✓ 已解决
2 回答2.1k 阅读
https://developer.mozilla.org...